X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=4ccd497d5f0c7ef62ea402fc28b0a11be21c2a4f;hb=cdc758fb7451d13b9ed6f2d2f2e229593376b2e0;hp=dd3eb245fca98cae054a1c284b6f185bad2dcac9;hpb=8abe9edbdc63a33f8fbb1f321073b762e08be9aa;p=clitk.git diff --git a/CMakeLists.txt b/CMakeLists.txt index dd3eb24..4ccd497 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,34 +57,24 @@ 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) +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 command-line segmentation tools" OFF) +OPTION(CLITK_BUILD_REGISTRATION "Build command-line registration tools" 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) - #=========================================================