-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
97 lines (74 loc) · 2.55 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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
cmake_minimum_required(VERSION 3.3)
project(LWGA)
set(LWGA_CXX_FLAGS "-pthread -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic")
set(CMAKE_CXX_FLAGS "-std=c++14 ${LWGA_CXX_FLAGS}")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 ${LWGA_CXX_FLAGS}")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0 -ggdb -std=c++14 ${LWGA_CXX_FLAGS}")
#set(SOURCE_FILES
# include/cop_ga.h
# src/cop_ga.cpp
# src/cop_ga_main.cpp
# src/ctop_ga.cpp
# )
set(GENERIC_FILES
include/ga_types.h include/ga_utils.h src/ga_utils.cpp)
set(COP_GA
${GENERIC_FILES}
include/cop_ga.h
src/cop_ga.cpp
src/cop_ga_main.cpp)
set(CTOP_GA
${GENERIC_FILES}
include/ctop_ga.h
src/ctop_ga.cpp
src/ctop_ga_main.cpp)
set(CTOP_TUNING
${GENERIC_FILES}
include/ctop_ga.h
include/tuning_instances.h
src/ctop_ga.cpp
src/crs_tuner.cpp)
set(ICRA17_COP
${GENERIC_FILES}
include/cop_ga.h
src/cop_ga.cpp
runs/icra17_cop.cpp)
set(PATH_RELINKING
include/path_relinking.h)
#set(TOP_GA
# ${GENERIC_FILES}
# include/top_ga.h
# src/top_ga_main.cpp
# src/top_ga.cpp
# src/ga_utils.cpp)
set(ICRA18_CTOP_MIQP_COMPARE
${GENERIC_FILES}
include/ctop_ga.h
src/ctop_ga.cpp
runs/icra18_miqp_compare.cpp)
include_directories(.)
include_directories(include)
add_library(dubins-curves src/dubins.cpp)
#add_executable(LWGA ${SOURCE_FILES})
add_executable(cop-ga ${COP_GA})
target_link_libraries(cop-ga dubins-curves pthread)
add_executable(ctop-ga ${CTOP_GA})
target_link_libraries(ctop-ga pthread)
add_executable(icra17-cop ${ICRA17_COP})
target_link_libraries(icra17-cop pthread)
#add_executable(top_ga ${TOP_GA})
#target_link_libraries(top_ga pthread)
add_executable(icra18_ctop_miqp_compare ${ICRA18_CTOP_MIQP_COMPARE})
target_link_libraries(icra18_ctop_miqp_compare pthread)
add_executable(crs_tuner ${CTOP_TUNING})
target_link_libraries(crs_tuner pthread)
add_library(dcop-ga src/dubins.cpp src/ga_utils.cpp src/dcop_ga.cpp)
target_link_libraries(dcop-ga pthread)
add_executable(dubins-crs-tuner src/dcop_crs_tuner.cpp)
target_link_libraries(dubins-crs-tuner dcop-ga)
add_executable(dcop-ga-main src/dcop_ga_main.cpp)
target_link_libraries(dcop-ga-main dcop-ga)
add_executable(iros18-experiments-rho runs/iros18_experiments_rho.cpp)
target_link_libraries(iros18-experiments-rho dcop-ga)
add_executable(iros18-experiments-cc runs/iros18_experiments_cc.cpp)
target_link_libraries(iros18-experiments-cc dcop-ga)