-
Notifications
You must be signed in to change notification settings - Fork 23
/
CMakeLists.txt
55 lines (49 loc) · 1.27 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
cmake_minimum_required(VERSION 3.5)
project(example_interfaces)
# 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()
find_package(ament_cmake REQUIRED)
find_package(rosidl_default_generators REQUIRED)
rosidl_generate_interfaces(${PROJECT_NAME}
"action/Fibonacci.action"
"msg/Bool.msg"
"msg/Byte.msg"
"msg/ByteMultiArray.msg"
"msg/Char.msg"
"msg/Empty.msg"
"msg/Float32.msg"
"msg/Float32MultiArray.msg"
"msg/Float64.msg"
"msg/Float64MultiArray.msg"
"msg/Int16.msg"
"msg/Int16MultiArray.msg"
"msg/Int32.msg"
"msg/Int32MultiArray.msg"
"msg/Int64.msg"
"msg/Int64MultiArray.msg"
"msg/Int8.msg"
"msg/Int8MultiArray.msg"
"msg/MultiArrayDimension.msg"
"msg/MultiArrayLayout.msg"
"msg/String.msg"
"msg/UInt16.msg"
"msg/UInt16MultiArray.msg"
"msg/UInt32.msg"
"msg/UInt32MultiArray.msg"
"msg/UInt64.msg"
"msg/UInt64MultiArray.msg"
"msg/UInt8.msg"
"msg/UInt8MultiArray.msg"
"msg/WString.msg"
"srv/AddTwoInts.srv"
"srv/SetBool.srv"
"srv/Trigger.srv"
)
install(FILES mapping_rules.yaml DESTINATION share/${PROJECT_NAME})
ament_export_dependencies(rosidl_default_runtime)
ament_package()