This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
forked from CoFra-CaLa/ros_etsi_its_msgs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
98 lines (89 loc) · 2.47 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
cmake_minimum_required(VERSION 3.5)
project(etsi_its_msgs)
# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
# find dependencies
find_package(ament_cmake REQUIRED)
find_package(std_msgs REQUIRED)
find_package(builtin_interfaces REQUIRED)
find_package(rosidl_default_generators REQUIRED)
set(msg_files
"msg/AccelerationControl.msg"
"msg/ActionID.msg"
"msg/Altitude.msg"
"msg/BasicVehicleContainerHighFrequency.msg"
"msg/BasicVehicleContainerLowFrequency.msg"
"msg/CAM.msg"
"msg/CauseCode.msg"
"msg/CPM.msg"
"msg/Curvature.msg"
"msg/CurvatureCalculationMode.msg"
"msg/DeltaReferencePosition.msg"
"msg/DENM.msg"
"msg/DriveDirection.msg"
"msg/DynamicStatus.msg"
"msg/EventPoint.msg"
"msg/ExteriorLights.msg"
"msg/Heading.msg"
"msg/InformationQuality.msg"
"msg/ItsPduHeader.msg"
"msg/LateralAcceleration.msg"
"msg/ListOfPerceivedObjects.msg"
"msg/LocationContainer.msg"
"msg/LongitudinalAcceleration.msg"
"msg/ManagementContainer.msg"
"msg/MatchedPosition.msg"
"msg/ObjectClassDescription.msg"
"msg/ObjectDimension.msg"
"msg/ObjectDistanceWithConfidence.msg"
"msg/ObjectRefPoint.msg"
"msg/OriginatingVehicleContainer.msg"
"msg/PathDeltaTime.msg"
"msg/PathHistory.msg"
"msg/PathPoint.msg"
"msg/PerceivedObject.msg"
"msg/PositionConfidenceEllipse.msg"
"msg/ReferencePosition.msg"
"msg/RelevanceDistance.msg"
"msg/RelevanceTrafficDirection.msg"
"msg/SensorInformation.msg"
"msg/SensorInformationContainer.msg"
"msg/SituationContainer.msg"
"msg/Speed.msg"
"msg/SpeedExtended.msg"
"msg/StationType.msg"
"msg/VehicleLength.msg"
"msg/VehicleRole.msg"
"msg/VehicleSensor.msg"
"msg/VehicleSensorProperty.msg"
"msg/VehicleWidth.msg"
"msg/WGS84Angle.msg"
"msg/YawRate.msg"
"msg/GenericLane.msg"
"msg/IntersectionGeometry.msg"
"msg/Intersections.msg"
"msg/Connection.msg"
"msg/NodeSetXY.msg"
"msg/SPATEM.msg"
"msg/IntersectionState.msg"
"msg/MovementState.msg"
"msg/MovementEvent.msg"
"msg/MAPEM.msg"
)
rosidl_generate_interfaces(${PROJECT_NAME}
${msg_files}
DEPENDENCIES std_msgs builtin_interfaces
)
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
set(ament_cmake_copyright_FOUND TRUE)
set(ament_cmake_cpplint_FOUND TRUE)
ament_lint_auto_find_test_dependencies()
endif()
ament_export_dependencies(rosidl_default_runtime)
ament_package()