CMakeLists.txt
1.15 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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_ROOT}/lib/libboost_system.so
${BOOST_ROOT}/lib/libboost_thread.so
${LIBXML2_LIBRARIES}
Plugin
XMLParameterConfigurator
ParamOutputImpl
TimeTableCatalog
Info
SpiceKernel
${DDCLIENTLIBRARY}
)