CMakeLists.txt 658 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_LIBRARIES}
	${libarchive_LIBRARIES}
	${LIBXML2_LIBRARIES}  
)