X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=3670af5a4d90eea3ed10f192d41314e87660bd08;hb=25e34ab26032bd169b35a883c4b02e55d5a8c6dc;hp=3a74d435f9d6b72959154d2231c7545f1e2cef39;hpb=c18059db4f507fd31b5898667f57eced7d48c5f7;p=clitk.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a74d43..3670af5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,33 +57,30 @@ ENDIF(MSVC) #========================================================= #========================================================= -INCLUDE_DIRECTORIES(itk filters ${PROJECT_BINARY_DIR}) +INCLUDE_DIRECTORIES(itk filters segmentation registration tools ${PROJECT_BINARY_DIR}) # Select what is compiled ADD_SUBDIRECTORY(common) -ADD_SUBDIRECTORY(filters) +add_subdirectory(tools) # Compilation options OPTION(CLITK_EXPERIMENTAL "Enable experimental software and features" OFF) - -OPTION(CLITK_BUILD_VV "Build vv the 4D visualizer (requires VTK and QT)" ON) -IF (CLITK_BUILD_VV) - add_subdirectory(vv) -ENDIF(CLITK_BUILD_VV) - OPTION(CLITK_BUILD_TOOLS "Build command-line tools" OFF) -IF (CLITK_BUILD_TOOLS) - add_subdirectory(tools) -ENDIF(CLITK_BUILD_TOOLS) + +OPTION(CLITK_BUILD_SEGMENTATION "Build segmentation tools" ON) +IF (CLITK_BUILD_SEGMENTATION) + add_subdirectory(segmentation) +ENDIF (CLITK_BUILD_SEGMENTATION) OPTION(CLITK_BUILD_REGISTRATION "Build command-line registration tools" OFF) IF (CLITK_BUILD_REGISTRATION) add_subdirectory(registration) ENDIF(CLITK_BUILD_REGISTRATION) -#OPTION(CLITK_BUILD_SEGMENTATION "Build segmentation tools" OFF) -#IF (CLITK_BUILD_SEGMENTATION) -# add_subdirectory(segmentation) -#ENDIF (CLITK_BUILD_SEGMENTATION) +OPTION(CLITK_BUILD_VV "Build vv the 4D visualizer (requires VTK and QT)" ON) +IF (CLITK_BUILD_VV) + add_subdirectory(vv) +ENDIF(CLITK_BUILD_VV) + #=========================================================