-
Notifications
You must be signed in to change notification settings - Fork 6
/
CMakeLists.txt
30 lines (25 loc) · 739 Bytes
/
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
cmake_minimum_required(VERSION 3.5)
project(urg_node_msgs)
find_package(ament_cmake REQUIRED)
find_package(builtin_interfaces REQUIRED)
find_package(rosidl_default_generators REQUIRED)
find_package(std_msgs REQUIRED)
# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
rosidl_generate_interfaces(urg_node_msgs
"msg/Status.msg"
DEPENDENCIES builtin_interfaces std_msgs
ADD_LINTER_TESTS
)
# Install mapping rules for the ros1_bridge
install(
FILES mapping_rules.yaml
DESTINATION share/${PROJECT_NAME}
)
ament_export_dependencies(rosidl_default_runtime)
ament_package()