Commit f64061d6 authored by Wieland Morgenstern's avatar Wieland Morgenstern

update build doc for Mac

parent 0f0f8cbb
...@@ -6,6 +6,8 @@ Using ccache to speed up recompilation is recommended, but not required, on Linu ...@@ -6,6 +6,8 @@ Using ccache to speed up recompilation is recommended, but not required, on Linu
## Building with macOS: ## Building with macOS:
### Using MacPorts
``` ```
# Build tools # Build tools
sudo port install CMake bison doxygen yasm ninja ccache sudo port install CMake bison doxygen yasm ninja ccache
...@@ -19,10 +21,15 @@ sudo port install opencv glew gsed jpeg libpng openal \ ...@@ -19,10 +21,15 @@ sudo port install opencv glew gsed jpeg libpng openal \
cmake -DCREATE_BOX_PACKAGE=OFF \ cmake -DCREATE_BOX_PACKAGE=OFF \
-DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=ON \ -DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=ON \
-DQt5_DIR=~/Qt/5.9.6/clang_64/lib/cmake/Qt5 \ -DQt5_DIR=~/Qt/5.9.6/clang_64/lib/cmake/Qt5 \
-DMACPORTS=ON \
-G Ninja \ -G Ninja \
stitchEm stitchEm
``` ```
### Using Homebrew
See [../.travis.yml](../.travis.yml)
## Building with Linux: ## Building with Linux:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment