]> Creatis software - clitk.git/commitdiff
*** empty log message ***
authorjef <jef>
Thu, 22 Jul 2010 15:54:00 +0000 (15:54 +0000)
committerjef <jef>
Thu, 22 Jul 2010 15:54:00 +0000 (15:54 +0000)
segmentation/CMakeLists.txt

index dfa795bd811a85a55e153e87de3850b05a53d100..2f725df59c0a98dcf5fd403ed39a7966d526b6be 100644 (file)
@@ -8,44 +8,91 @@ SET( CMAKE_VERBOSE_MAKEFILE off)
 
 #=========================================================
 
-WRAP_GGO(clitkSegmentationFilters_GGO_C
-  clitkFillMask.ggo
-  clitkConnectedComponentLabeling.ggo
-  clitkExtractLung.ggo
-  clitkExtractPatient.ggo
-  clitkExtractBones.ggo
-  clitkExtractMediastinum.ggo
-  clitkExtractLymphStations.ggo
-)
+# 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})
+TARGET_LINK_LIBRARIES(clitkConnectedComponentLabeling clitkCommon ITKIO)
+
+WRAP_GGO(clitkFillMask_GGO_C clitkFillMask.ggo)
+ADD_EXECUTABLE(clitkFillMask clitkFillMask.cxx clitkFillMaskGenericFilter.cxx ${clitkFillMask_GGO_C})
+TARGET_LINK_LIBRARIES(clitkFillMask clitkCommon ITKIO)
+
+WRAP_GGO(clitkExtractPatient_GGO_C clitkExtractPatient.ggo)
+ADD_EXECUTABLE(clitkExtractPatient clitkExtractPatient.cxx ${clitkExtractPatient_GGO_C})
+TARGET_LINK_LIBRARIES(clitkExtractPatient clitkCommon ITKIO)
+
+WRAP_GGO(clitkExtractLung_GGO_C clitkExtractLung.ggo)
+ADD_EXECUTABLE(clitkExtractLung clitkExtractLung.cxx ${clitkExtractLung_GGO_C})
+TARGET_LINK_LIBRARIES(clitkExtractLung clitkCommon ITKIO)
+
+WRAP_GGO(clitkExtractBones_GGO_C clitkExtractBones.ggo)
+ADD_EXECUTABLE(clitkExtractBones clitkExtractBones.cxx ${clitkExtractBones_GGO_C})
+TARGET_LINK_LIBRARIES(clitkExtractBones clitkCommon ITKIO)
+
+WRAP_GGO(clitkExtractMediastinum_GGO_C clitkExtractMediastinum.ggo)
+ADD_EXECUTABLE(clitkExtractMediastinum clitkExtractMediastinum.cxx ${clitkExtractMediastinum_GGO_C})
+TARGET_LINK_LIBRARIES(clitkExtractMediastinum clitkCommon ITKIO )
+
+WRAP_GGO(clitkExtractLymphStations_GGO_C clitkExtractLymphStations.ggo)
+ADD_EXECUTABLE(clitkExtractLymphStations clitkExtractLymphStations.cxx ${clitkExtractLymphStations_GGO_C})
+TARGET_LINK_LIBRARIES(clitkExtractLymphStations clitkCommon ITKIO )
+
+WRAP_GGO(clitkMorphoMath_GGO_C clitkMorphoMath.ggo)
+ADD_EXECUTABLE(clitkMorphoMath clitkMorphoMath.cxx clitkMorphoMathGenericFilter.cxx ${clitkMorphoMath_GGO_C})
+TARGET_LINK_LIBRARIES(clitkMorphoMath ITKIO clitkCommon)
+
+WRAP_GGO(clitkMorphoReconstruction_GGO_C clitkMorphoReconstruction.ggo)
+ADD_EXECUTABLE(clitkMorphoReconstruction clitkMorphoReconstruction.cxx clitkMorphoReconstructionGenericFilter.cxx ${clitkMorphoReconstruction_GGO_C})
+TARGET_LINK_LIBRARIES(clitkMorphoReconstruction clitkCommon ITKIO )
+
+WRAP_GGO(clitkCalculateDistanceMap_GGO_C clitkCalculateDistanceMap.ggo)
+ADD_EXECUTABLE(clitkCalculateDistanceMap clitkCalculateDistanceMap.cxx clitkCalculateDistanceMapGenericFilter.cxx ${clitkCalculateDistanceMap_GGO_C})
+TARGET_LINK_LIBRARIES(clitkCalculateDistanceMap clitkCommon ITKIO)
+
+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 )
+
+WRAP_GGO(clitkRegionGrowing_GGO_C clitkRegionGrowing.ggo)
+ADD_EXECUTABLE(clitkRegionGrowing clitkRegionGrowing.cxx clitkRegionGrowingGenericFilter.cxx ${clitkRegionGrowing_GGO_C})
+TARGET_LINK_LIBRARIES(clitkRegionGrowing clitkCommon ITKIO)
+
+WRAP_GGO(clitkDecomposeAndReconstruct_GGO_C clitkDecomposeAndReconstruct.ggo)
+ADD_EXECUTABLE(clitkDecomposeAndReconstruct clitkDecomposeAndReconstruct.cxx clitkDecomposeAndReconstructGenericFilter.cxx ${clitkDecomposeAndReconstruct_GGO_C})
+TARGET_LINK_LIBRARIES(clitkDecomposeAndReconstruct clitkCommon ITKIO)
+
+WRAP_GGO(clitkMotionMask_GGO_C clitkMotionMask.ggo)
+ADD_EXECUTABLE(clitkMotionMask clitkMotionMask.cxx clitkMotionMaskGenericFilter.cxx ${clitkMotionMask_GGO_C})
+TARGET_LINK_LIBRARIES(clitkMotionMask clitkCommon ITKIO ITKStatistics )
+
+WRAP_GGO(clitkFillImageRegion_GGO_C clitkFillImageRegion.ggo)
+ADD_EXECUTABLE(clitkFillImageRegion clitkFillImageRegion.cxx clitkFillImageRegionGenericFilter.cxx ${clitkFillImageRegion_GGO_C})
+TARGET_LINK_LIBRARIES(clitkFillImageRegion clitkCommon ITKIO)
 
-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
-
-ADD_EXECUTABLE(clitkConnectedComponentLabeling clitkConnectedComponentLabeling.cxx)
-TARGET_LINK_LIBRARIES(clitkConnectedComponentLabeling clitkCommon ITKIO ITKStatistics clitkSegmentationFilters)
-
-ADD_EXECUTABLE(clitkFillMask clitkFillMask.cxx clitkFillMaskGenericFilter.cxx)
-TARGET_LINK_LIBRARIES(clitkFillMask clitkCommon ITKIO ITKStatistics clitkSegmentationFilters)
-
-ADD_EXECUTABLE(clitkExtractPatient clitkExtractPatient.cxx)
-TARGET_LINK_LIBRARIES(clitkExtractPatient clitkCommon ITKIO ITKStatistics clitkSegmentationFilters)
-
-ADD_EXECUTABLE(clitkExtractLung clitkExtractLung.cxx)
-TARGET_LINK_LIBRARIES(clitkExtractLung clitkCommon ITKIO ITKStatistics clitkSegmentationFilters)
-
-ADD_EXECUTABLE(clitkExtractBones clitkExtractBones.cxx)
-TARGET_LINK_LIBRARIES(clitkExtractBones clitkCommon ITKIO ITKStatistics clitkSegmentationFilters)
-
-ADD_EXECUTABLE(clitkExtractMediastinum clitkExtractMediastinum.cxx)
-TARGET_LINK_LIBRARIES(clitkExtractMediastinum clitkCommon ITKIO ITKStatistics clitkSegmentationFilters)
-
-ADD_EXECUTABLE(clitkExtractLymphStations clitkExtractLymphStations.cxx)
-TARGET_LINK_LIBRARIES(clitkExtractLymphStations clitkCommon ITKIO ITKStatistics clitkSegmentationFilters)