]> Creatis software - clitk.git/blobdiff - segmentation/CMakeLists.txt
improvements to the build process:
[clitk.git] / segmentation / CMakeLists.txt
index 2f725df59c0a98dcf5fd403ed39a7966d526b6be..a75a78eea41d6562f4885cfb110d9854b6d93254 100644 (file)
@@ -4,29 +4,12 @@ INCLUDE(${PROJECT_SOURCE_DIR}/cmake/common.cmake)
 
 #=========================================================
 
-SET( CMAKE_VERBOSE_MAKEFILE off)
+#Add your _ggo files to this list if they are used by vv
+ADD_LIBRARY(clitkSegmentationGgoLib clitkExtractPatient_ggo.c
+clitkExtractLung_ggo.c)
 
 #=========================================================
 
-# WRAP_GGO(clitkSegmentationFilters_GGO_C
-#   clitkFillMask.ggo
-#   clitkConnectedComponentLabeling.ggo
-#   clitkExtractLung.ggo
-#   clitkExtractPatient.ggo
-#   clitkExtractBones.ggo
-#   clitkExtractMediastinum.ggo
-#   clitkExtractLymphStations.ggo
-# )
-
-# SET(clitkSegmentationFilters_SRC
-#   ${clitkSegmentationFilters_GGO_C}
-# )  
-
-# ADD_LIBRARY(clitkSegmentationFilters STATIC ${clitkSegmentationFilters_SRC})
-
-# ADD_EXECUTABLE(clitkTestFilter clitkTestFilter.cxx clitkTestFilter_ggo.c)
-# TARGET_LINK_LIBRARIES(clitkTestFilter clitkCommon ITKIO clitkSegmentationFilters ITKStatistics)
-
 ######################################### Segmentation part
 WRAP_GGO(clitkConnectedComponentLabeling_GGO_C clitkConnectedComponentLabeling.ggo)
 ADD_EXECUTABLE(clitkConnectedComponentLabeling clitkConnectedComponentLabeling.cxx ${clitkConnectedComponentLabeling_GGO_C})
@@ -72,10 +55,6 @@ WRAP_GGO(clitkLevelSetSegmentation_GGO_C clitkLevelSetSegmentation.ggo)
 ADD_EXECUTABLE(clitkLevelSetSegmentation clitkLevelSetSegmentation.cxx clitkLevelSetSegmentationGenericFilter.cxx ${clitkLevelSetSegmentation_GGO_C})
 TARGET_LINK_LIBRARIES(clitkLevelSetSegmentation clitkCommon ITKIO)
 
-WRAP_GGO(clitkBinarizeImage_GGO_C clitkBinarizeImage.ggo)
-ADD_EXECUTABLE(clitkBinarizeImage clitkBinarizeImage.cxx clitkBinarizeImageGenericFilter.cxx ${clitkBinarizeImage_GGO_C})
-TARGET_LINK_LIBRARIES(clitkBinarizeImage clitkCommon ITKIO)
-
 WRAP_GGO(clitkAnd_GGO_C clitkAnd.ggo)
 ADD_EXECUTABLE(clitkAnd clitkAnd.cxx clitkAndGenericFilter.cxx ${clitkAnd_GGO_C})
 TARGET_LINK_LIBRARIES(clitkAnd clitkCommon ITKIO )