COMP: Update external projects to use CMAKE_CACHE_ARGS

Unless option have to be passed using the command line, this is the
recommended approach to pass options. It avoids "command line length issues".
parent 85036448
......@@ -6,7 +6,7 @@ imstk_add_external_project( Assimp
GIT_REPOSITORY https://github.com/assimp/assimp.git
GIT_TAG v3.3.1
INSTALL_COMMAND ${SKIP_STEP_COMMAND}
CMAKE_ARGS
CMAKE_CACHE_ARGS
-DASSIMP_BUILD_ASSIMP_TOOLS:BOOL=OFF
-DASSIMP_BUILD_TESTS:BOOL=OFF
-DASSIMP_NO_EXPORT:BOOL=ON
......
......@@ -6,7 +6,7 @@ imstk_add_external_project( GoogleTest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG release-1.8.0
INSTALL_COMMAND ${SKIP_STEP_COMMAND}
CMAKE_ARGS
CMAKE_CACHE_ARGS
-DBUILD_GMOCK:BOOL=ON
-DBUILD_GTEST:BOOL=ON
-DBUILD_SHARED_LIBS:BOOL=ON
......
......@@ -11,7 +11,7 @@ imstk_add_external_project( LibNiFalcon
GIT_REPOSITORY https://github.com/agirault/libnifalcon
GIT_TAG 47586d4e21c987fb9e3ce822bf707c53e8fc4e52
INSTALL_COMMAND ${SKIP_STEP_COMMAND}
CMAKE_ARGS
CMAKE_CACHE_ARGS
-DBUILD_TESTING:BOOL=OFF
-DBUILD_EXAMPLES:BOOL=OFF
-DBUILD_SWIG_BINDINGS:BOOL=OFF
......
......@@ -6,7 +6,7 @@ imstk_add_external_project( SCCD
GIT_REPOSITORY https://gitlab.kitware.com/iMSTK/SCCD.git
GIT_TAG 64550894016d84e80939a1c51ef6df5307c54fae
INSTALL_COMMAND ${SKIP_STEP_COMMAND}
CMAKE_ARGS
CMAKE_CACHE_ARGS
-DBUILD_SAMPLE_APP:BOOL=OFF
RELATIVE_INCLUDE_PATH "inc"
DEPENDENCIES
......
......@@ -6,7 +6,7 @@ imstk_add_external_project( SFML
GIT_REPOSITORY https://github.com/SFML/SFML.git
GIT_TAG 2.4.2
INSTALL_COMMAND ${SKIP_STEP_COMMAND}
CMAKE_ARGS
CMAKE_CACHE_ARGS
-DSFML_BUILD_AUDIO:BOOL=ON
-DSFML_BUILD_GRAPHICS:BOOL=OFF
-DSFML_BUILD_NETWORK:BOOL=OFF
......
......@@ -7,7 +7,7 @@ imstk_add_external_project( Uncrustify
GIT_REPOSITORY https://github.com/uncrustify/uncrustify.git
GIT_TAG uncrustify-0.64
INSTALL_COMMAND ${SKIP_STEP_COMMAND}
CMAKE_ARGS
CMAKE_CACHE_ARGS
RELATIVE_INCLUDE_PATH ""
DEPENDENCIES ""
#VERBOSE
......
......@@ -33,7 +33,7 @@ imstk_add_external_project( VRPN
GIT_REPOSITORY https://github.com/sjh26/vrpn
GIT_TAG 6721b5ea8972cf6bcbaccdd2d32479dd77b74b53
INSTALL_COMMAND ${SKIP_STEP_COMMAND}
CMAKE_ARGS
CMAKE_CACHE_ARGS
-DBUILD_TESTING:BOOL=OFF
-DVRPN_SUBPROJECT_BUILD:BOOL=ON
-DVRPN_BUILD_CLIENTS:BOOL=OFF
......
......@@ -11,7 +11,7 @@ imstk_add_external_project( VegaFEM
GIT_REPOSITORY https://gitlab.kitware.com/iMSTK/VegaFEM-CMake.git
GIT_TAG 7bc1bda6a873e2cf4486f9ec3fe6b7b90da76941
INSTALL_COMMAND ${SKIP_STEP_COMMAND}
CMAKE_ARGS
CMAKE_CACHE_ARGS
-DVegaFEM_ENABLE_PTHREADS_SUPPORT:BOOL=ON
-DVegaFEM_ENABLE_OpenGL_SUPPORT:BOOL=OFF
-DVegaFEM_BUILD_MODEL_REDUCTION:BOOL=OFF
......
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