CMakeLists.txt
728 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_LIBRARY_DIR}/libboost_iostreams.so
${Boost_LIBRARY_DIR}/libboost_filesystem.so
${libarchive_LIBRARIES}
${LIBXML2_LIBRARIES}
)