X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=4ccd497d5f0c7ef62ea402fc28b0a11be21c2a4f;hb=acd847ca23ec3c1213e9e97043d4f99445a25b6c;hp=3670af5a4d90eea3ed10f192d41314e87660bd08;hpb=25e34ab26032bd169b35a883c4b02e55d5a8c6dc;p=clitk.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 3670af5..4ccd497 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,20 +62,14 @@ INCLUDE_DIRECTORIES(itk filters segmentation registration tools ${PROJECT_BINARY # Select what is compiled ADD_SUBDIRECTORY(common) add_subdirectory(tools) +add_subdirectory(segmentation) +add_subdirectory(registration) # 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" ON) -IF (CLITK_BUILD_SEGMENTATION) - add_subdirectory(segmentation) -ENDIF (CLITK_BUILD_SEGMENTATION) - +OPTION(CLITK_BUILD_SEGMENTATION "Build command-line 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)