forked from RobotWebTools/rosbridge_suite
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCMakeLists.txt
35 lines (29 loc) · 1.1 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
cmake_minimum_required(VERSION 3.5)
project(rosbridge_server)
find_package(ament_cmake_ros REQUIRED)
find_package(ament_cmake_core REQUIRED)
find_package(ament_cmake_python REQUIRED)
ament_python_install_package(
${PROJECT_NAME} PACKAGE_DIR "src/${PROJECT_NAME}")
ament_package()
install(PROGRAMS
scripts/rosbridge_websocket.py
scripts/rosbridge_websocket
DESTINATION lib/${PROJECT_NAME}
)
install(FILES
launch/rosbridge_websocket_launch.xml
DESTINATION share/${PROJECT_NAME}/launch
)
if(BUILD_TESTING)
find_package(launch_testing_ament_cmake REQUIRED)
add_launch_test(test/websocket/advertise_action.test.py)
add_launch_test(test/websocket/advertise_action_feedback.test.py)
add_launch_test(test/websocket/advertise_service.test.py)
add_launch_test(test/websocket/call_service.test.py)
add_launch_test(test/websocket/send_action_goal.test.py)
add_launch_test(test/websocket/smoke.test.py)
add_launch_test(test/websocket/transient_local_publisher.test.py)
add_launch_test(test/websocket/best_effort_publisher.test.py)
add_launch_test(test/websocket/multiple_subscribers_raw.test.py)
endif()