X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=travis%2Ftravis_build_vv.sh;h=54720764e6cd7a44b8b7c60e2914e47117feb319;hb=603ff4134048d31b94c7561f973d525a1e054801;hp=797b03cc7077d6568d342fafbf8b0f6dcd46d049;hpb=aa6b838a5b6880c40ca8d9dbe72846c5812e5f93;p=clitk.git diff --git a/travis/travis_build_vv.sh b/travis/travis_build_vv.sh index 797b03c..5472076 100755 --- a/travis/travis_build_vv.sh +++ b/travis/travis_build_vv.sh @@ -3,11 +3,20 @@ set -ev MAKE="make --jobs=$NUM_THREADS --keep-going" #Prepare cmake arguments following the vv version -cmake_arg_str=" -DCLITK_BUILD_REGISTRATION=OFF --DCLITK_BUILD_SEGMENTATION=OFF --DCLITK_BUILD_TOOLS=OFF --DCLITK_BUILD_VV=ON --DCLITK_EXPERIMENTAL=OFF" +if [ "$C11" == "true" ]; then + cmake_arg_str=" -DCMAKE_CXX_FLAGS=-std=c++11 + -DCLITK_BUILD_REGISTRATION=OFF + -DCLITK_BUILD_SEGMENTATION=OFF + -DCLITK_BUILD_TOOLS=OFF + -DCLITK_BUILD_VV=ON + -DCLITK_EXPERIMENTAL=OFF" +else + cmake_arg_str=" -DCLITK_BUILD_REGISTRATION=OFF + -DCLITK_BUILD_SEGMENTATION=OFF + -DCLITK_BUILD_TOOLS=OFF + -DCLITK_BUILD_VV=ON + -DCLITK_EXPERIMENTAL=OFF" +fi #CMAKE and MAKE mkdir -p $BUILD_DIR