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