Commit 4f2888c4 authored by Wieland Morgenstern's avatar Wieland Morgenstern

document all steps needed for a build, including out-of-source build dir

parent 20693a55
...@@ -18,12 +18,19 @@ sudo port install opencv glew gsed jpeg libpng openal \ ...@@ -18,12 +18,19 @@ sudo port install opencv glew gsed jpeg libpng openal \
``` ```
``` ```
git clone git@github.com:stitchEm/stitchEm.git
mkdir build; cd build;
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 \ -DMACPORTS=ON \
-DCMAKE_BUILD_TYPE=Release \
-G Ninja \ -G Ninja \
stitchEm ../stitchEm
ninja
``` ```
### Using Homebrew ### Using Homebrew
...@@ -77,9 +84,16 @@ export CXX=g++-6 ...@@ -77,9 +84,16 @@ export CXX=g++-6
# Install CUDA: https://developer.nvidia.com/cuda-90-download-archive # Install CUDA: https://developer.nvidia.com/cuda-90-download-archive
git clone git@github.com:stitchEm/stitchEm.git
mkdir build; cd build;
cmake -DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=ON \ cmake -DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=ON \
-G Ninja \ -G Ninja \
stitchEm -DCMAKE_BUILD_TYPE=Release \
../stitchEm
ninja
``` ```
## CMake flags ## CMake flags
......
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