CMakeLists.txt 782 Bytes

PROJECT(SpiceKernel)

find_package(CSPICE REQUIRED)

include_directories(
    ${CMAKE_HOME_DIRECTORY}/src/helpers/
    ${CMAKE_HOME_DIRECTORY}/src/Common/
    ${CMAKE_HOME_DIRECTORY}/src/Parameters/
    ${CMAKE_HOME_DIRECTORY}/src/TimeTableCatalog/
    ${CMAKE_HOME_DIRECTORY}/src/XMLConfigurator/
    ${CMAKE_HOME_DIRECTORY}/src/TimeUtil/
    ${DDCLIENTINCLUDE_DIR}
    ${LIBXML2_INCLUDE_DIR}
    ${LOG4CXX_INCLUDE_DIR}
    ${Boost_INCLUDE_DIR}
    ${libcspice_INCLUDE_DIR}
)

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

ADD_LIBRARY( SpiceKernel SHARED ${source_files} )


target_link_libraries(
	SpiceKernel 
    ${BOOST_ROOT}/lib/libboost_system.so 
    ${BOOST_ROOT}/lib/libboost_thread.so
	${LIBXML2_LIBRARIES}
	${libcspice_LIBRARIES}
	TimeUtil
)