CMakeLists.txt 727 Bytes

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(
    PostProcessing
    XMLConfigurator
	${LOG4CXX_LIBRARIES}	
	${BOOST_ROOT}/lib/libboost_iostreams.so
	${BOOST_ROOT}/lib/libboost_filesystem.so
	${libarchive_LIBRARIES}
	${LIBXML2_LIBRARIES}  
)