CMakeLists.txt 1.16 KB

PROJECT(amdaParameterInfo)

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

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

ADD_EXECUTABLE( amdaParameterInfo ${source_files} )


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