-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCMakeLists.txt
57 lines (48 loc) · 1005 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
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
cmake_minimum_required(VERSION 3.5)
project(test_interface_files NONE)
find_package(ament_cmake_core REQUIRED)
set(msg_files
"msg/Arrays.msg"
"msg/BasicTypes.msg"
"msg/BoundedPlainSequences.msg"
"msg/BoundedSequences.msg"
"msg/Constants.msg"
"msg/Defaults.msg"
"msg/Empty.msg"
"msg/MultiNested.msg"
"msg/Nested.msg"
"msg/Strings.msg"
"msg/UnboundedSequences.msg"
"msg/WStrings.msg"
)
set(srv_files
"srv/Arrays.srv"
"srv/BasicTypes.srv"
"srv/Empty.srv"
)
set(action_files
"action/Fibonacci.action"
)
set(idl_files
# "idl/IdlOnlyTypes.idl"
)
set(interface_install_dir "share/${PROJECT_NAME}")
install(
FILES ${msg_files}
DESTINATION ${interface_install_dir}/msg
)
install(
FILES ${srv_files}
DESTINATION ${interface_install_dir}/srv
)
install(
FILES ${action_files}
DESTINATION ${interface_install_dir}/action
)
install(
FILES ${idl_files}
DESTINATION ${interface_install_dir}/idl
)
ament_package(
CONFIG_EXTRAS ${PROJECT_NAME}-extras.cmake.in
)