CMakeLists.txt 1.08 KB

PROJECT(ParamOutputDataMiningImpl)

set(LIBRARY_OUTPUT_PATH ${PLUGIN_OUTPUT_PATH})

include_directories(
    ${CMAKE_HOME_DIRECTORY}/src/helpers/
    ${CMAKE_HOME_DIRECTORY}/src/Common/
    ${CMAKE_HOME_DIRECTORY}/src/Parameters/
    ${CMAKE_HOME_DIRECTORY}/src/XMLConfigurator/
    ${CMAKE_HOME_DIRECTORY}/src/XMLParameterConfigurator/
    ${CMAKE_HOME_DIRECTORY}/src/XMLRequest/
    ${CMAKE_HOME_DIRECTORY}/src/Plugins/
    ${CMAKE_HOME_DIRECTORY}/src/DD_Client_r_Lib/
    ${CMAKE_HOME_DIRECTORY}/src/TimeTableCatalog/
    ${CMAKE_HOME_DIRECTORY}/src/PostProcessing/
    ${LIBXML2_INCLUDE_DIR}
    ${LOG4CXX_INCLUDE_DIR}
    ${cURL_INCLUDE_DIR}
    ${Boost_INCLUDE_DIR}
)

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

ADD_LIBRARY( ParamOutputDataMiningImpl SHARED ${source_files} )


target_link_libraries(
	ParamOutputDataMiningImpl
	${LIBXML2_LIBRARIES}
	${cURL_LIBRARIES}
	${BOOST_ROOT}/lib/libboost_system.so
	${BOOST_ROOT}/lib/libboost_filesystem.so
	TimeTableCatalog
	${LOG4CXX_LIBRARIES}
#	AMDA_COMMON
	Plugin
	XMLParameterConfigurator
	XMLRequest
	DDClient_rLib
)