CMakeLists.txt 1.19 KB

PROJECT(EXE_AMDA_Kernel)

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

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

ADD_EXECUTABLE( EXE_AMDA_Kernel ${source_files} )


target_link_libraries(
    EXE_AMDA_Kernel
    AMDA_COMMON
   	${CMAKE_THREAD_LIBS_INIT}
    Parameters
	${LOG4CXX_LIBRARIES}
	Plugin
	XMLParameterConfigurator
   	${BOOST_ROOT}/lib/libboost_system.so 
   	${BOOST_ROOT}/lib/libboost_thread.so
	ParamOutputImpl
	TimeTableCatalog
	${DDCLIENTLIBRARY}
	Info
	SpiceKernel
)