X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=694d7b62f125c920577d8b3e9fd825746a9adefd;hb=5dc155f99385ef56e5c80dbcc0b7f56760629ade;hp=c5f31cf17b3255192a8ef354ea245241949680eb;hpb=65315d4598295e8581a22004d2cce85ae7a598fb;p=clitk.git diff --git a/CMakeLists.txt b/CMakeLists.txt index c5f31cf..694d7b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,28 +57,27 @@ 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) +add_subdirectory(segmentation) # Compilation options OPTION(CLITK_EXPERIMENTAL "Enable experimental software and features" OFF) +OPTION(CLITK_BUILD_TOOLS "Build command-line tools" OFF) +OPTION(CLITK_BUILD_SEGMENTATION "Build segmentation tools" OFF) + +OPTION(CLITK_BUILD_REGISTRATION "Build command-line registration tools" OFF) +IF (CLITK_BUILD_REGISTRATION) + add_subdirectory(registration) +ENDIF(CLITK_BUILD_REGISTRATION) 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" OFF) -#IF (CLITK_BUILD_SEGMENTATION) -# add_subdirectory(segmentation) -#ENDIF (CLITK_BUILD_SEGMENTATION) #=========================================================