1 #=========================================================
2 #Support for the CTest dashboard testing system
3 option(BUILD_TESTING "Build the testing tree" OFF)
5 option(CLITK_BUILD_TESTING "Test ITK" ON)
8 #=========================================================
11 #=========================================================
12 # If the user choose to build documentation, then search for Doxygen executables.
13 option(BUILD_DOXYGEN "Build Doxygen Documentation" OFF)
16 add_subdirectory(${CLITK_SOURCE_DIR}/Doxygen ${PROJECT_BINARY_DIR}/Doxygen)
18 #=========================================================
21 option(CLITK_EXPERIMENTAL "Enable experimental software and features" OFF)
22 mark_as_advanced(CLITK_EXPERIMENTAL)
23 option(CLITK_BUILD_TOOLS "Build command-line tools" OFF)
24 option(CLITK_BUILD_SEGMENTATION "Build command-line segmentation tools" OFF)
25 option(CLITK_BUILD_REGISTRATION "Build command-line registration tools" OFF)
27 option(CLITK_BUILD_VV "Build vv the 4D visualizer (requires VTK and QT)" ON)
30 if(VTK_VERSION VERSION_LESS 6.0.0)
31 set(vv_QT_VERSION "4" CACHE INTERNAL "Expected Qt version")
33 if(VTK_QT_VERSION VERSION_LESS 5)
34 set(vv_QT_VERSION "4" CACHE INTERNAL "Expected Qt version")
36 set(vv_QT_VERSION "5" CACHE INTERNAL "Expected Qt version")
40 add_subdirectory(${CLITK_SOURCE_DIR}/vv ${PROJECT_BINARY_DIR}/vv)
43 #=========================================================
44 # Build test when vv has been compiled
46 add_subdirectory(${CLITK_SOURCE_DIR}/tests ${PROJECT_BINARY_DIR}/tests)