]> Creatis software - clitk.git/blob - common/CMakeLists.txt
motion masks with and without bands
[clitk.git] / common / CMakeLists.txt
1 #=========================================================
2 # make clitk libraries*
3 CONFIGURE_FILE(clitkConfiguration.h.in ${PROJECT_BINARY_DIR}/clitkConfiguration.h)
4
5 SET(clitkCommon_SRC
6   clitkCommon.cxx 
7   clitkListOfPair.cxx
8   clitkTimer.cxx
9   clitkImageCommon.cxx
10   clitkTransformUtilities.cxx
11   clitkIO.cxx
12   clitkGateAsciiImageIO.cxx
13   clitkGateAsciiImageIOFactory.cxx
14   clitkVoxImageIO.cxx  
15   clitkVoxImageIOFactory.cxx
16   clitkVfImageIO.cxx  
17   clitkVfImageIOFactory.cxx
18   clitkHisImageIO.cxx  
19   clitkHisImageIOFactory.cxx
20   clitkXdrImageIOReader.cxx  
21   clitkXdrImageIOWriter.cxx  
22   clitkXdrImageIOFactory.cxx
23   clitkHndImageIO.cxx
24   clitkHndImageIOFactory.cxx
25   clitkDicomRTDoseIO.cxx
26   clitkDicomRTDoseIOFactory.cxx
27   clitkOrientation.cxx
28   clitkImageToImageGenericFilterBase.cxx
29   clitkExceptionObject.cxx
30   clitkFilterBase.cxx
31   clitkMemoryUsage.cxx
32   vvImage.cxx
33   vvImageReader.cxx
34   vvImageWriter.cxx
35 )
36
37 ### Declare clitkCommon library
38 ADD_LIBRARY(clitkCommon STATIC ${clitkCommon_SRC})
39
40 IF(NOT ${LIBSTATGRAB} MATCHES "LIBSTATGRAB-NOTFOUND")
41   TARGET_LINK_LIBRARIES(clitkCommon statgrab)
42 ENDIF(NOT ${LIBSTATGRAB} MATCHES "LIBSTATGRAB-NOTFOUND")
43
44 TARGET_LINK_LIBRARIES(clitkCommon vtkCommon vtkImaging ${ITK_LIBRARIES})
45
46 ADD_LIBRARY(clitkDicomRTStruct STATIC
47   clitkDicomRT_Contour.cxx
48   clitkDicomRT_ROI.cxx
49   clitkDicomRT_StructureSet.cxx
50   clitkDicomRTStruct2ImageFilter.cxx
51 )
52
53 TARGET_LINK_LIBRARIES(clitkDicomRTStruct vtkHybrid) 
54
55 #ADD_LIBRARY(clitkCommonShared SHARED ${clitkCommon_SRC})
56 #SET_TARGET_PROPERTIES(clitkCommonShared PROPERTIES COMPILE_FLAGS -fPIC)
57