CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/Tools/ros2/ardupilot_msgs/CMakeLists.txt
Views: 1799
1
cmake_minimum_required(VERSION 3.8)
2
project(ardupilot_msgs)
3
4
# --------------------------------------------------------------------------- #
5
# Find dependencies.
6
7
find_package(ament_cmake REQUIRED)
8
find_package(geometry_msgs REQUIRED)
9
find_package(std_msgs REQUIRED)
10
find_package(rosidl_default_generators REQUIRED)
11
12
# --------------------------------------------------------------------------- #
13
# Generate and export message interfaces.
14
15
rosidl_generate_interfaces(${PROJECT_NAME}
16
"msg/GlobalPosition.msg"
17
"msg/Status.msg"
18
"srv/ArmMotors.srv"
19
"srv/ModeSwitch.srv"
20
"srv/Takeoff.srv"
21
DEPENDENCIES geometry_msgs std_msgs
22
ADD_LINTER_TESTS
23
)
24
25
ament_export_dependencies(rosidl_default_runtime)
26
27
if(BUILD_TESTING)
28
find_package(ament_lint_auto REQUIRED)
29
ament_lint_auto_find_test_dependencies()
30
endif()
31
32
# --------------------------------------------------------------------------- #
33
# Call last.
34
35
ament_package()
36
37