-
Notifications
You must be signed in to change notification settings - Fork 5
/
CMakeLists.txt
50 lines (40 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
40
41
42
43
44
45
46
47
48
49
50
cmake_minimum_required(VERSION 2.8.3)
project(octomap_merger)
find_package(catkin REQUIRED COMPONENTS
octomap_ros
octomap_msgs
roscpp
std_msgs
sensor_msgs
nav_msgs
message_generation
pcl_conversions
pcl_ros
)
add_message_files(
FILES
OctomapArray.msg
OctomapNeighbors.msg
)
generate_messages(
DEPENDENCIES
nav_msgs
octomap_msgs
)
include_directories(
include
${catkin_INCLUDE_DIRS}
)
catkin_package(
CATKIN_DEPENDS message_runtime
)
add_library(icp_align src/icp_align.cpp)
target_link_libraries(icp_align ${catkin_LIBRARIES})
add_library(map_merger src/map_merger.cpp)
target_link_libraries(map_merger ${catkin_LIBRARIES})
add_executable(octomap_merger src/octomap_merger.cpp)
target_link_libraries(octomap_merger icp_align map_merger ${catkin_LIBRARIES})
add_executable(octomap_merger_node src/octomap_merger_node.cpp)
target_link_libraries(octomap_merger_node icp_align map_merger ${catkin_LIBRARIES})
add_executable(align_test_node src/align_test_node.cpp)
target_link_libraries(align_test_node icp_align map_merger ${catkin_LIBRARIES})