]> Creatis software - clitk.git/blob - common/CMakeLists.txt
Added templated version of GetBackwardAffineMatrix for clitkAffineRegistration (sr...
[clitk.git] / common / CMakeLists.txt
1 #=========================================================
2 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I${ITK_DIR}/gdcm/src/")
3
4 #=========================================================
5 INCLUDE(${PROJECT_SOURCE_DIR}/cmake/common.cmake)
6 #=========================================================
7
8 #=========================================================
9 # make clitk libraries*
10 CONFIGURE_FILE(clitkConfiguration.h.in ${PROJECT_BINARY_DIR}/clitkConfiguration.h)
11
12 SET(clitkCommon_SRC
13   clitkCommon.cxx 
14   clitkListOfPair.cxx
15   clitkTimer.cxx
16   clitkImageCommon.cxx
17   clitkTransformUtilities.cxx
18   clitkIO.cxx
19   clitkVoxImageIO.cxx  
20   clitkVoxImageIOFactory.cxx
21   clitkVfImageIO.cxx  
22   clitkVfImageIOFactory.cxx
23   clitkHisImageIO.cxx  
24   clitkHisImageIOFactory.cxx
25   clitkXdrImageIOReader.cxx  
26   clitkXdrImageIOWriter.cxx  
27   clitkXdrImageIOFactory.cxx
28   clitkHndImageIO.cxx
29   clitkHndImageIOFactory.cxx
30   clitkOrientation.cxx
31   vvImage.cxx
32   clitkImageToImageGenericFilterBase.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)