]> Creatis software - clitk.git/blob - travis/travis_build_vv.sh
Add code to write dicom sequence tag in gateSimulation2Dicom
[clitk.git] / travis / travis_build_vv.sh
1 #!/bin/bash
2 set -ev
3 MAKE="make --jobs=$NUM_THREADS --keep-going"
4
5 #Prepare cmake arguments following the vv version
6 if [ "$C11" == "true" ]; then
7   cmake_arg_str=" -DCMAKE_CXX_FLAGS=-std=c++11
8   -DCLITK_BUILD_REGISTRATION=OFF
9   -DCLITK_BUILD_SEGMENTATION=OFF
10   -DCLITK_BUILD_TOOLS=OFF
11   -DCLITK_BUILD_VV=ON
12   -DCLITK_EXPERIMENTAL=OFF"
13 else
14   cmake_arg_str=" -DCLITK_BUILD_REGISTRATION=OFF
15   -DCLITK_BUILD_SEGMENTATION=OFF
16   -DCLITK_BUILD_TOOLS=OFF
17   -DCLITK_BUILD_VV=ON
18   -DCLITK_EXPERIMENTAL=OFF"
19 fi
20
21 #CMAKE and MAKE
22 mkdir -p $BUILD_DIR
23 cd $BUILD_DIR
24 cmake $cmake_arg_str ..
25 $MAKE
26 cd -
27 cd $cwd