forked from ros-controls/ros2_control_demos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
39 lines (31 loc) · 1.01 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
cmake_minimum_required(VERSION 3.16)
project(ros2_control_demo_example_15 LANGUAGES CXX)
if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
add_compile_options(-Wall -Wextra)
endif()
# find dependencies
set(THIS_PACKAGE_INCLUDE_DEPENDS
)
# find dependencies
find_package(ament_cmake REQUIRED)
foreach(Dependency IN ITEMS ${THIS_PACKAGE_INCLUDE_DEPENDS})
find_package(${Dependency} REQUIRED)
endforeach()
# INSTALL
install(
DIRECTORY description/rviz
DESTINATION share/ros2_control_demo_example_15
)
install(
DIRECTORY bringup/launch bringup/config
DESTINATION share/ros2_control_demo_example_15
)
if(BUILD_TESTING)
find_package(ament_cmake_pytest REQUIRED)
# TODO(christophfroehlich) deactivated because of bug in spawner
# ament_add_pytest_test(test_rrbot_namespace_launch test/test_rrbot_namespace_launch.py)
# ament_add_pytest_test(test_multi_controller_manager_launch test/test_multi_controller_manager_launch.py)
endif()
## EXPORTS
ament_export_dependencies(${THIS_PACKAGE_INCLUDE_DEPENDS})
ament_package()