-
Notifications
You must be signed in to change notification settings - Fork 13
/
CMakeLists.txt
172 lines (141 loc) · 4.06 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
cmake_minimum_required(VERSION 2.8.3)
project(map_compression)
find_package(catkin REQUIRED COMPONENTS
roscpp
cmake_modules
tf
tf_conversions
libpointmatcher_ros
pcl_ros
)
find_package(libpointmatcher REQUIRED)
add_definitions(-std=c++11 -O2 -g -DNDEBUG)
catkin_package (
# CATKIN_DEPENDS roscpp
)
include_directories(include)
include_directories(
${catkin_INCLUDE_DIRS}
${EIGEN_INCLUDE_DIRS}
${libpointmatcher_INCLUDE_DIRS}
${BULLET_INCLUDE_DIR}
)
add_executable(mapCheck src/tools/mapCheck.cpp)
target_link_libraries(mapCheck
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(formatTransfer src/tools/formatTransfer.cpp)
target_link_libraries(formatTransfer
${catkin_LIBRARIES}
)
add_executable(renameLaserScans src/tools/renameLaserScans.cpp)
target_link_libraries(renameLaserScans
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(mapCompresser src/learn_program/mapCompresser.cpp)
target_link_libraries(mapCompresser
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(loadFinalResults src/learn_program/loadFinalResults.cpp)
target_link_libraries(loadFinalResults
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(randomSampleMap src/comparisons/randomSampleMap.cpp)
target_link_libraries(randomSampleMap
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(mapCutterTraj src/learn_program/mapCutterTraj.cpp)
target_link_libraries(mapCutterTraj
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(generateAllFeatures src/learn_program/generateAllFeatures.cpp)
target_link_libraries(generateAllFeatures
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(errorDistribution src/learn_program/errorDistribution.cpp)
target_link_libraries(errorDistribution
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(compareDistribution src/learn_program/compareDistribution.cpp)
target_link_libraries(compareDistribution
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(locTest src/loc_test/locTest.cpp)
target_link_libraries(locTest
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(mapScoring src/map_generation/mapScoring.cpp)
target_link_libraries(mapScoring
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(genVisMatrix src/map_generation/genVisMatrix.cpp)
target_link_libraries(genVisMatrix
${catkin_LIBRARIES}
)
add_executable(loadProResult src/learn_program/loadProResult.cpp)
target_link_libraries(loadProResult
${catkin_LIBRARIES}
)
add_executable(scanRegister src/map_generation/scanRegister.cpp)
target_link_libraries(scanRegister
${catkin_LIBRARIES}
)
add_executable(genWeightVector src/map_generation/genWeightVector.cpp)
target_link_libraries(genWeightVector
${catkin_LIBRARIES}
)
add_executable(mapFilter src/map_generation/mapFilter.cpp)
target_link_libraries(mapFilter
${catkin_LIBRARIES}
)
add_executable(clusterMap src/comparisons/clusterMap.cpp)
target_link_libraries(clusterMap
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(voxelMap src/comparisons/voxelMap.cpp)
target_link_libraries(voxelMap
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(splitCloudForSaliency src/comparisons/splitCloudForSaliency.cpp)
target_link_libraries(splitCloudForSaliency
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(saliencyMap src/comparisons/saliencyMap.cpp)
target_link_libraries(saliencyMap
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(mergeCloudForSaliency src/comparisons/mergeCloudForSaliency.cpp)
target_link_libraries(mergeCloudForSaliency
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(selectByObserver src/comparisons/selectByObserver.cpp)
target_link_libraries(selectByObserver
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(selectBySaliency src/comparisons/selectBySaliency.cpp)
target_link_libraries(selectBySaliency
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)
add_executable(normalViewer src/tools/normalViewer.cpp)
target_link_libraries(normalViewer
${catkin_LIBRARIES}
${libpointmatcher_LIBRARIES}
)