]> Creatis software - clitk.git/blob - common/CMakeLists.txt
Modified transform in vvImage. Now a vtkGeneralTransform which composes a vtkGridTran...
[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   clitkIO.cxx
18   clitkVoxImageIO.cxx  
19   clitkVoxImageIOFactory.cxx
20   clitkVfImageIO.cxx  
21   clitkVfImageIOFactory.cxx
22   clitkHisImageIO.cxx  
23   clitkHisImageIOFactory.cxx
24   clitkXdrImageIOReader.cxx  
25   clitkXdrImageIOWriter.cxx  
26   clitkXdrImageIOFactory.cxx
27   clitkOrientation.cxx
28   vvImage.cxx
29   clitkImageToImageGenericFilterBase.cxx
30   clitkFilterBase.cxx
31 )  
32
33 ADD_LIBRARY(clitkCommon STATIC ${clitkCommon_SRC})
34 TARGET_LINK_LIBRARIES(clitkCommon vtkCommon vtkImaging vtkHybrid ITKBasicFilters)
35
36 ADD_LIBRARY(clitkDicomRTStruct STATIC
37   clitkDicomRT_Contour.cxx
38   clitkDicomRT_ROI.cxx
39   clitkDicomRT_StructureSet.cxx
40   clitkDicomRT_ROI_ConvertToImageFilter.cxx
41 )
42
43 #ADD_LIBRARY(clitkCommonShared SHARED ${clitkCommon_SRC})
44 #SET_TARGET_PROPERTIES(clitkCommonShared PROPERTIES COMPILE_FLAGS -fPIC)