-
Notifications
You must be signed in to change notification settings - Fork 6
/
CMakeLists.txt
executable file
·104 lines (71 loc) · 2.35 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
cmake_minimum_required(VERSION 3.0.2)
project(pc_alignment_tools)
set(CMAKE_CXX_STANDARD 14)
find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
roslib
std_msgs
message_generation
message_filters
tf2_ros
tf2
tf2_msgs
nav_msgs
eigen_conversions
tf2_sensor_msgs
geometry_msgs
sensor_msgs
)
find_package(PCL REQUIRED)
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
nav_msgs
)
catkin_package(
CATKIN_DEPENDS message_runtime roscpp rospy roslib std_msgs message_filters tf2_ros tf2 tf2_msgs nav_msgs
)
include_directories(
${catkin_INCLUDE_DIRS}
${PCL_INCLUDE_DIRS}
)
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
add_executable(point_to_point_aligner
src/pc_alignment_tools.hpp
src/point_to_point_aligner.cpp
src/get_inputs.cpp)
target_link_libraries(point_to_point_aligner
${PCL_LIBRARIES} ${catkin_LIBRARIES})
add_executable(nl_point_to_point_aligner
src/pc_alignment_tools.hpp
src/nl_point_to_point_aligner.cpp
src/get_inputs.cpp)
target_link_libraries(nl_point_to_point_aligner
${PCL_LIBRARIES} ${catkin_LIBRARIES})
add_executable(point_to_plane_aligner
src/pc_alignment_tools.hpp
src/point_to_plane_aligner.cpp
src/get_inputs.cpp)
target_link_libraries(point_to_plane_aligner
${PCL_LIBRARIES} ${catkin_LIBRARIES})
add_executable(gicp_aligner
src/pc_alignment_tools.hpp
src/gicp_aligner.cpp
src/get_inputs.cpp)
target_link_libraries(gicp_aligner
${PCL_LIBRARIES} ${catkin_LIBRARIES})
add_executable(corres_filter_point_to_point_aligner
src/pc_alignment_tools.hpp
src/corres_filter_point_to_point_aligner.cpp
src/get_inputs.cpp)
target_link_libraries(corres_filter_point_to_point_aligner
${PCL_LIBRARIES} ${catkin_LIBRARIES})
add_executable(corres_filter_point_to_plane_aligner
src/pc_alignment_tools.hpp
src/corres_filter_point_to_plane_aligner.cpp
src/get_inputs.cpp)
target_link_libraries(corres_filter_point_to_plane_aligner
${PCL_LIBRARIES} ${catkin_LIBRARIES})