]> Creatis software - clitk.git/blob - common/CMakeLists.txt
remove useless txx
[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   clitkDicomRTDoseIO.cxx
28   clitkDicomRTDoseIOFactory.cxx
29   clitkOrientation.cxx
30   vvImage.cxx
31   clitkImageToImageGenericFilterBase.cxx
32   clitkExceptionObject.cxx
33   clitkFilterBase.cxx
34 )  
35
36 ADD_LIBRARY(clitkCommon STATIC ${clitkCommon_SRC})
37 TARGET_LINK_LIBRARIES(clitkCommon vtkCommon vtkImaging vtkHybrid ITKBasicFilters)
38
39 ADD_LIBRARY(clitkDicomRTStruct STATIC
40   clitkDicomRT_Contour.cxx
41   clitkDicomRT_ROI.cxx
42   clitkDicomRT_StructureSet.cxx
43   clitkDicomRT_ROI_ConvertToImageFilter.cxx
44 )
45
46 #ADD_LIBRARY(clitkCommonShared SHARED ${clitkCommon_SRC})
47 #SET_TARGET_PROPERTIES(clitkCommonShared PROPERTIES COMPILE_FLAGS -fPIC)