]> Creatis software - clitk.git/blob - common/CMakeLists.txt
e2a679508f181ca9bd9b812ff96ab92e1f7a4c4b
[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
11 SET(clitkCommon_SRC
12   clitkCommon.cxx 
13   clitkListOfPair.cxx
14   clitkTimer.cxx
15   clitkImageCommon.cxx
16   clitkIO.cxx
17   clitkVoxImageIO.cxx  
18   clitkVoxImageIOFactory.cxx
19   clitkVfImageIO.cxx  
20   clitkVfImageIOFactory.cxx
21   clitkHisImageIO.cxx  
22   clitkHisImageIOFactory.cxx
23   clitkXdrImageIOReader.cxx  
24   clitkXdrImageIOWriter.cxx  
25   clitkXdrImageIOFactory.cxx
26   clitkOrientation.cxx
27   vvImage.cxx
28   clitkImageToImageGenericFilterBase.cxx
29   clitkSignal.cxx  
30 )  
31
32 ADD_LIBRARY(clitkCommon STATIC ${clitkCommon_SRC})
33
34 #ADD_LIBRARY(clitkCommonShared SHARED ${clitkCommon_SRC})
35 #SET_TARGET_PROPERTIES(clitkCommonShared PROPERTIES COMPILE_FLAGS -fPIC)