forked from Universite-Gustave-Eiffel/Tempus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
39 lines (32 loc) · 1.07 KB
/
CMakeLists.txt
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
include_directories(../core)
if (WIN32)
add_library( cost_lib STATIC cost_lib/speed_profile.hh cost_lib/speed_profile.cc )
else()
add_library( cost_lib SHARED cost_lib/speed_profile.cc )
endif()
add_library( sample_multi_plugin MODULE sample_multi_plugin/sample_multi_plugin.cc )
target_link_libraries( sample_multi_plugin tempus )
add_library( sample_road_plugin MODULE sample_road_plugin/sample_road_plugin.cc )
target_link_libraries( sample_road_plugin tempus )
add_library( sample_pt_plugin MODULE sample_pt_plugin/sample_pt_plugin.cc )
target_link_libraries( sample_pt_plugin tempus )
include_directories(.)
add_library( dynamic_multi_plugin MODULE dynamic_multi_plugin/dynamic_multi_plugin.cc )
target_link_libraries( dynamic_multi_plugin tempus cost_lib )
if (WIN32)
install( TARGETS
sample_multi_plugin
sample_road_plugin
sample_pt_plugin
dynamic_multi_plugin
LIBRARY DESTINATION bin
)
else()
install( TARGETS
sample_multi_plugin
sample_road_plugin
sample_pt_plugin
dynamic_multi_plugin
LIBRARY DESTINATION lib
)
endif()