CMakeLists.txt
689 Bytes
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
PROJECT(maglib)
set(LIBRARY_OUTPUT_PATH ${PLUGIN_OUTPUT_PATH})
include_directories(
${CMAKE_HOME_DIRECTORY}/src/InternLib/
${CMAKE_HOME_DIRECTORY}/src/Common/
${CMAKE_HOME_DIRECTORY}/src/Parameters/
${CMAKE_HOME_DIRECTORY}/src/Plugins/
${CMAKE_HOME_DIRECTORY}/src/helpers/
${CMAKE_HOME_DIRECTORY}/src/TimeTableCatalog/
${CMAKE_HOME_DIRECTORY}/src/Info/
${LOG4CXX_INCLUDE_DIR}
${Boost_INCLUDE_DIR}
${MAGLIBINCLUDE_DIRS}
)
#Library configuration
file(
GLOB_RECURSE
source_files
./*
)
ADD_LIBRARY( maglib SHARED ${source_files} )
target_link_libraries(
maglib
${LOG4CXX_LIBRARIES}
Parameters
InternLib
TimeTableCatalog
TimeUtil
Info
)