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 OPTION(CLITK_BUILD_TOOLS "Build command-line tools" OFF)
23 OPTION(CLITK_BUILD_SEGMENTATION "Build command-line segmentation tools" OFF)
24 OPTION(CLITK_BUILD_REGISTRATION "Build command-line registration tools" OFF)
26 OPTION(CLITK_BUILD_VV "Build vv the 4D visualizer (requires VTK and QT)" ON)
28 ADD_SUBDIRECTORY(${CLITK_SOURCE_DIR}/vv ${PROJECT_BINARY_DIR}/vv)
31 #=========================================================
32 # Build test when vv has been compiled
34 ADD_SUBDIRECTORY(${CLITK_SOURCE_DIR}/tests ${PROJECT_BINARY_DIR}/tests)
37 #=========================================================
38 # Install scripts when running make install
40 ${CLITK_SOURCE_DIR}/scripts/calculate_motion_amplitude.sh
41 ${CLITK_SOURCE_DIR}/scripts/midp_common.sh
42 ${CLITK_SOURCE_DIR}/scripts/registration.sh
43 ${CLITK_SOURCE_DIR}/scripts/create_midP.sh
44 ${CLITK_SOURCE_DIR}/scripts/create_midP-2.0.sh
45 ${CLITK_SOURCE_DIR}/scripts/create_mhd_4D.sh
46 ${CLITK_SOURCE_DIR}/scripts/create_mhd_4D_pattern.sh
47 ${CLITK_SOURCE_DIR}/scripts/create_midP_masks.sh
48 ${CLITK_SOURCE_DIR}/scripts/create_midP_masks-2.0.sh
49 ${CLITK_SOURCE_DIR}/scripts/pts_to_landmarks.sh
50 ${CLITK_SOURCE_DIR}/scripts/create_mhd_3D.sh
51 ${CLITK_SOURCE_DIR}/scripts/dicom_info.sh
54 INSTALL (FILES ${SCRIPTS} DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE)