-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
So far, here are steps we might need to do to support Mac
- Install XQuartz https://www.xquartz.org/
- Also install linux packages
- brew install coreutils
- brew install llvm (takes forever)
- ln -s "$(brew --prefix llvm)/bin/clang-format" "/usr/local/bin/clang-format"
- ln -s "$(brew --prefix llvm)/bin/clang-tidy" "/usr/local/bin/clang-tidy"
- Install googletest
git clone https://github.com/google/googletest
cd googletest
mkdir build
cd build
cmake .. -DCMAKE_CXX_STANDARD=17
make
make install - Change makefiles. Can we add/remove flags depending on the OS? Add these for Mac but not for Linux?
- Compilation: add
-lm -I/opt/X11/include -lpthread -lX11 -lstdc++ -I/usr/X11R6/include -L/usr/X11R6/lib - unittest: add
-lm -lpthread -lX11 -I/usr/X11R6/include -L/usr/X11R6/lib
- Compilation: add
Metadata
Metadata
Assignees
Labels
No labels