-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
32 lines (26 loc) · 1.05 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
cmake_minimum_required(VERSION 3.5)
project(r2r_regular_markers)
find_package(ament_cmake REQUIRED)
if(NOT DEFINED CMAKE_SUPPRESS_DEVELOPER_WARNINGS)
set(CMAKE_SUPPRESS_DEVELOPER_WARNINGS 1 CACHE INTERNAL "No dev warnings")
endif()
include(r2r_cargo.cmake)
# put ros package dependencies here.
r2r_cargo(rcl # mandatory
rcl_action # mandatory
rmw_fastrtps_cpp # (needed to build with RMW_IMPLEMENTATION=rmw_fastrtps_cpp)
FastRTPS # (needed to build with RMW_IMPLEMENTATION=rmw_fastrtps_cpp)
visualization_msgs
tf2_msgs # to publish TF messages to tf and tf_static
std_msgs # the Header message is here
std_srvs
sensor_msgs
geometry_msgs # the Transform and TransformStamped messages are here
)
# install binaries
install(PROGRAMS
${CMAKE_SOURCE_DIR}/target/colcon/main
DESTINATION lib/${PROJECT_NAME}
)
# we need this for ros/colcon
ament_package()