Blame view

src/PostProcessing/CMakeLists.txt 728 Bytes
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

PROJECT(PostProcessing)

include_directories(
	PostProcessing    
    ${CMAKE_HOME_DIRECTORY}/src/PostProcessing/
    ${CMAKE_HOME_DIRECTORY}/src/Parameters/
    ${CMAKE_HOME_DIRECTORY}/src/XMLConfigurator/
    ${CMAKE_HOME_DIRECTORY}/src/XMLParameterConfigurator/
    ${LOG4CXX_INCLUDE_DIR}
    ${Boost_INCLUDE_DIR}
    ${libarchive_INCLUDE_DIR}
    ${LIBXML2_INCLUDE_DIR}    
)

#Configuration de la librairie
file(
	GLOB_RECURSE
	source_files
	./*
)

ADD_LIBRARY( PostProcessing SHARED ${source_files} )

target_link_libraries(
ab9d7e65   Benjamin Renard   Fix libraries loc...
26
27
	PostProcessing
	XMLConfigurator
fbe3c2bb   Benjamin Renard   First commit
28
	${LOG4CXX_LIBRARIES}	
ab9d7e65   Benjamin Renard   Fix libraries loc...
29
30
	${Boost_LIBRARY_DIR}/libboost_iostreams.so
	${Boost_LIBRARY_DIR}/libboost_filesystem.so
fbe3c2bb   Benjamin Renard   First commit
31
32
	${libarchive_LIBRARIES}
	${LIBXML2_LIBRARIES}  
ab9d7e65   Benjamin Renard   Fix libraries loc...
33
)