-
Notifications
You must be signed in to change notification settings - Fork 528
/
CMakeLists.txt
47 lines (41 loc) · 1.23 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
cmake_minimum_required(VERSION 3.5)
project(rosbridge_library)
find_package(ament_cmake_core REQUIRED)
find_package(ament_cmake_python REQUIRED)
find_package(builtin_interfaces REQUIRED)
find_package(geometry_msgs REQUIRED)
find_package(rosidl_default_generators REQUIRED)
find_package(std_msgs REQUIRED)
ament_python_install_package(
${PROJECT_NAME} PACKAGE_DIR "src/${PROJECT_NAME}")
rosidl_generate_interfaces(${PROJECT_NAME}
msg/Num.msg
msg/TestChar.msg
msg/TestDurationArray.msg
msg/TestHeaderArray.msg
msg/TestHeader.msg
msg/TestHeaderTwo.msg
msg/TestTimeArray.msg
msg/TestUInt8.msg
msg/TestUInt8FixedSizeArray16.msg
srv/AddTwoInts.srv
srv/SendBytes.srv
srv/TestArrayRequest.srv
srv/TestEmpty.srv
srv/TestMultipleRequestFields.srv
srv/TestMultipleResponseFields.srv
srv/TestNestedService.srv
srv/TestRequestAndResponse.srv
srv/TestRequestOnly.srv
srv/TestResponseOnly.srv
DEPENDENCIES builtin_interfaces geometry_msgs std_msgs
SKIP_INSTALL
)
ament_export_dependencies(rosidl_default_runtime)
ament_package()
if (BUILD_TESTING)
# TODO re-enable rostests
# find_package(rostest REQUIRED)
# add_rostest(test/capabilities/test_capabilities.test)
# add_rostest(test/internal/test_internal.test)
endif()