CMakeLists.txt 1.07 KB

PROJECT(ParamOutputImpl)

set(LIBRARY_OUTPUT_PATH ${PLUGIN_OUTPUT_PATH})

include_directories(ParamOutputImpl
    ${CMAKE_HOME_DIRECTORY}/src/helpers/
    ${CMAKE_HOME_DIRECTORY}/src/Common/
    ${CMAKE_HOME_DIRECTORY}/src/Parameters/
    ${CMAKE_HOME_DIRECTORY}/src/PostProcessing/
    ${CMAKE_HOME_DIRECTORY}/src/XMLConfigurator/
    ${CMAKE_HOME_DIRECTORY}/src/XMLRequest/
    ${CMAKE_HOME_DIRECTORY}/src/Plugins/
    ${CMAKE_HOME_DIRECTORY}/src/TimeTableCatalog/
    ${CMAKE_HOME_DIRECTORY}/src/Info/
    ${CMAKE_HOME_DIRECTORY}/src/TimeUtil/
    ${LIBXML2_INCLUDE_DIR}
    ${LOG4CXX_INCLUDE_DIR}
    ${Boost_INCLUDE_DIR}
    ${libcdf_INCLUDE_DIR}
    ${DDCLIENTINCLUDE_DIR}
)

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

ADD_LIBRARY( ParamOutputImpl SHARED ${source_files} )


target_link_libraries(
	ParamOutputImpl
	${LOG4CXX_LIBRARIES}
	${Boost_LIBRARY_DIR}/libboost_system.so 
	${Boost_LIBRARY_DIR}/libboost_thread.so   
	${libcdf_LIBRARIES} 
	rt
	Parameters
	PostProcessing
	Plugin
	XMLParameterConfigurator	
	XMLRequest
	TimeTableCatalog
	TimeUtil
)