]> Creatis software - clitk.git/blob - segmentation/CMakeLists.txt
relative position 2D slice by slice (attempt)
[clitk.git] / segmentation / CMakeLists.txt
1 #=========================================================
2
3 INCLUDE(${PROJECT_SOURCE_DIR}/cmake/common.cmake)
4
5 #=========================================================
6
7 SET( CMAKE_VERBOSE_MAKEFILE off)
8
9 #=========================================================
10
11 WRAP_GGO(clitkSegmentationFilters_GGO_C
12   clitkFillMask.ggo
13   clitkConnectedComponentLabeling.ggo
14   clitkExtractLung.ggo
15   clitkExtractPatient.ggo
16   clitkExtractBones.ggo
17   clitkExtractMediastinum.ggo
18   clitkExtractLymphStations.ggo
19 )
20
21 SET(clitkSegmentationFilters_SRC
22   ${clitkSegmentationFilters_GGO_C}
23 )  
24
25 ADD_LIBRARY(clitkSegmentationFilters STATIC ${clitkSegmentationFilters_SRC})
26
27 ADD_EXECUTABLE(clitkTestFilter clitkTestFilter.cxx clitkTestFilter_ggo.c)
28 TARGET_LINK_LIBRARIES(clitkTestFilter clitkCommon ITKIO clitkSegmentationFilters ITKStatistics)
29
30 ## Segmentation part
31
32 ADD_EXECUTABLE(clitkConnectedComponentLabeling clitkConnectedComponentLabeling.cxx)
33 TARGET_LINK_LIBRARIES(clitkConnectedComponentLabeling clitkCommon ITKIO ITKStatistics clitkSegmentationFilters)
34
35 ADD_EXECUTABLE(clitkFillMask clitkFillMask.cxx clitkFillMaskGenericFilter.cxx)
36 TARGET_LINK_LIBRARIES(clitkFillMask clitkCommon ITKIO ITKStatistics clitkSegmentationFilters)
37
38 ADD_EXECUTABLE(clitkExtractPatient clitkExtractPatient.cxx)
39 TARGET_LINK_LIBRARIES(clitkExtractPatient clitkCommon ITKIO ITKStatistics clitkSegmentationFilters)
40
41 ADD_EXECUTABLE(clitkExtractLung clitkExtractLung.cxx)
42 TARGET_LINK_LIBRARIES(clitkExtractLung clitkCommon ITKIO ITKStatistics clitkSegmentationFilters)
43
44 ADD_EXECUTABLE(clitkExtractBones clitkExtractBones.cxx)
45 TARGET_LINK_LIBRARIES(clitkExtractBones clitkCommon ITKIO ITKStatistics clitkSegmentationFilters)
46
47 ADD_EXECUTABLE(clitkExtractMediastinum clitkExtractMediastinum.cxx)
48 TARGET_LINK_LIBRARIES(clitkExtractMediastinum clitkCommon ITKIO ITKStatistics clitkSegmentationFilters)
49
50 ADD_EXECUTABLE(clitkExtractLymphStations clitkExtractLymphStations.cxx)
51 TARGET_LINK_LIBRARIES(clitkExtractLymphStations clitkCommon ITKIO ITKStatistics clitkSegmentationFilters)