-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
executable file
·53 lines (46 loc) · 1.34 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
cmake_minimum_required(VERSION 3.8)
project(wiln)
find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_package(geometry_msgs REQUIRED)
find_package(std_srvs REQUIRED)
find_package(std_msgs REQUIRED)
find_package(tf2_geometry_msgs REQUIRED)
find_package(tf2 REQUIRED)
find_package(rclcpp_action REQUIRED)
find_package(nav_msgs REQUIRED)
find_package(rosidl_default_generators REQUIRED)
find_package(norlab_icp_mapper_ros REQUIRED)
find_package(norlab_controllers_msgs REQUIRED)
find_package(service_caller REQUIRED)
find_package(tf2_geometry_msgs REQUIRED)
rosidl_generate_interfaces(${PROJECT_NAME}
"srv/LoadMapTraj.srv"
"srv/PlayLoop.srv"
"srv/SaveMapTraj.srv"
DEPENDENCIES std_msgs std_srvs
)
add_executable(wiln_node src/wiln_node.cpp)
ament_target_dependencies(wiln_node
rclcpp
std_msgs
geometry_msgs
nav_msgs
std_srvs
tf2_ros
tf2
rclcpp_action
norlab_icp_mapper_ros
norlab_controllers_msgs
service_caller
tf2_geometry_msgs
)
rosidl_get_typesupport_target(cpp_typesupport_target ${PROJECT_NAME} "rosidl_typesupport_cpp")
target_link_libraries(wiln_node "${cpp_typesupport_target}")
ament_export_dependencies(rosidl_default_runtime)
install(TARGETS wiln_node
DESTINATION lib/${PROJECT_NAME}
)
install(DIRECTORY launch
DESTINATION share/${PROJECT_NAME})
ament_package()