CMakeLists.txt 1.14 KB

PROJECT(amdaXMLRequestorTool)

include_directories(
    ${CMAKE_HOME_DIRECTORY}/src/amdaXMLRequestorTool/
    ${CMAKE_HOME_DIRECTORY}/src/helpers/
    ${CMAKE_HOME_DIRECTORY}/src/Common/
    ${CMAKE_HOME_DIRECTORY}/src/Parameters/
    ${CMAKE_HOME_DIRECTORY}/src/Download/
    ${CMAKE_HOME_DIRECTORY}/src/XMLConfigurator/
    ${CMAKE_HOME_DIRECTORY}/src/XMLParameterConfigurator/
    ${CMAKE_HOME_DIRECTORY}/src/XMLRequest/
    ${CMAKE_HOME_DIRECTORY}/src/Plugins/
    ${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/
    ${CMAKE_HOME_DIRECTORY}/src/TimeTableCatalog/
    ${CMAKE_HOME_DIRECTORY}/src/SpiceKernel/
    ${LOG4CXX_INCLUDE_DIR}
    ${Boost_INCLUDE_DIR}
    ${LIBXML2_INCLUDE_DIR}
)

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

ADD_EXECUTABLE( amdaXMLRequestorTool ${source_files} )


target_link_libraries(
	amdaXMLRequestorTool
	AMDA_COMMON
   	${CMAKE_THREAD_LIBS_INIT}
	Parameters
	XMLRequest
	${LOG4CXX_LIBRARIES}
	${Boost_LIBRARY_DIR}/libboost_system.so 
	${Boost_LIBRARY_DIR}/libboost_thread.so
	${LIBXML2_LIBRARIES}
	Plugin
	XMLParameterConfigurator
	ParamOutputImpl
	TimeTableCatalog
	Info
	SpiceKernel
	${DDCLIENTLIBRARY}
)