CMakeLists.txt 984 Bytes

PROJECT(SpeasyProxyInterface)

set(LIBRARY_OUTPUT_PATH ${PLUGIN_OUTPUT_PATH})

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

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

ADD_LIBRARY( SpeasyProxyInterface SHARED ${source_files} )


target_link_libraries(
	SpeasyProxyInterface
	${LOG4CXX_LIBRARIES}
	${libcdf_LIBRARIES}
	${Boost_LIBRARIES}
	${cURL_LIBRARIES}
#	AMDA_COMMON
	Plugin
	TimeTableCatalog
	Parameters
	Info
)