Blame view

src/SpiceKernel/CMakeLists.txt 718 Bytes
cebd3f0e   Benjamin Renard   First implementat...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

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(
e958d5cc   Benjamin Renard   Update PLPlot to ...
31
32
	SpiceKernel
	${Boost_LIBRARIES}
cebd3f0e   Benjamin Renard   First implementat...
33
34
35
36
	${LIBXML2_LIBRARIES}
	${libcspice_LIBRARIES}
	TimeUtil
)