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