CMakeLists.txt
2.18 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
PROJECT(Plot)
set(LIBRARY_OUTPUT_PATH ${PLUGIN_OUTPUT_PATH})
# sub directories of Plot...
add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/CurveFunction)
add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/Time)
add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/ParamPlot)
add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/InstantPlot)
add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/Scatter)
add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/Ascii)
add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/DecoratorPlot)
add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/TickPlot)
add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/StatusPlot)
include_directories(
${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/
${PLOT_TIME_INCLUDES}
${PLOT_EPOCH_INCLUDES}
${PLOT_DECORATOR_INCLUDES}
${PLOT_STATUSPLOT_INCLUDES}
${PLOT_TICKPLOT_INCLUDES}
${PLOT_PARAM_INCLUDES}
${PLOT_INSTANT_INCLUDES}
${PLOT_SCATTER_INCLUDES}
${PLOT_ASCII_INCLUDES}
${CMAKE_HOME_DIRECTORY}/src/helpers/
${CMAKE_HOME_DIRECTORY}/src/Common/
${CMAKE_HOME_DIRECTORY}/src/Info/
${CMAKE_HOME_DIRECTORY}/src/InternLib/
${CMAKE_HOME_DIRECTORY}/src/Parameters/
${CMAKE_HOME_DIRECTORY}/src/PostProcessing/
${CMAKE_HOME_DIRECTORY}/src/XMLConfigurator/
${CMAKE_HOME_DIRECTORY}/src/XMLRequest/
${CMAKE_HOME_DIRECTORY}/src/Plugins/
${CMAKE_HOME_DIRECTORY}/src/DD_Client_r_Lib/
${CMAKE_HOME_DIRECTORY}/src/TimeTableCatalog/
${CMAKE_HOME_DIRECTORY}/src/Info/
${LIBXML2_INCLUDE_DIR}
${LOG4CXX_INCLUDE_DIR}
${Boost_INCLUDE_DIR}
${PLplot_INCLUDE_DIR}
)
#Configuration de la librairie
file(
GLOB_RECURSE
source_files
./*
)
MESSAGE( STATUS "Sources :" ${source_files})
ADD_LIBRARY( Plot SHARED ${source_files} )
target_link_libraries(
Plot
${LOG4CXX_LIBRARIES}
${PLplot_LIBRARIES}
${QSAS_LIBRARIES}
${BOOST_ROOT}/lib/libboost_system.so
${BOOST_ROOT}/lib/libboost_thread.so
${BOOST_ROOT}/lib/libboost_regex.so
rt
Parameters
Info
InternLib
PostProcessing
Plugin
XMLParameterConfigurator
XMLRequest
DDClient_rLib
TimeTableCatalog
)