-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
89 lines (77 loc) · 2.34 KB
/
CMakeLists.txt
File metadata and controls
89 lines (77 loc) · 2.34 KB
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
cmake_minimum_required(VERSION 3.15)
project(farmbot_interfaces)
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
cmake_policy(SET CMP0074 NEW)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
include(FetchContent)
# find dependencies
find_package(ament_cmake REQUIRED)
find_package(rosidl_default_generators REQUIRED)
find_package(nav_msgs REQUIRED)
find_package(std_msgs REQUIRED)
find_package(builtin_interfaces REQUIRED)
find_package(geometry_msgs REQUIRED)
find_package(sensor_msgs REQUIRED)
rosidl_generate_interfaces(${PROJECT_NAME}
# "interfaces/navigation/Waypoints.action"
# "interfaces/navigation/Segments.action"
# "interfaces/navigation/Control.action"
"pathfinder/Waypoint.msg"
"pathfinder/Waypoints.msg"
"pathfinder/State.msg"
"pathfinder/States.msg"
"pathfinder/Segment.msg"
"pathfinder/Segments.msg"
"polestar/Datum.srv"
"polestar/Gps2Ecef.srv"
"polestar/Ecef2Gps.srv"
"polestar/Ecef2Enu.srv"
"polestar/Enu2Ecef.srv"
"polestar/Gps2Enu.srv"
"polestar/Enu2Gps.srv"
"lighthouse/Float32Stamped.msg"
"lighthouse/Float64Stamped.msg"
"lighthouse/KeyValue.msg"
"lighthouse/Value.srv"
"lighthouse/Spawn.srv"
"lighthouse/Trigger.srv"
"lighthouse/Threshold.srv"
"lighthouse/Reset.srv"
"lighthouse/blockchain/Block.msg"
"lighthouse/blockchain/Chain.msg"
"lighthouse/blockchain/Transaction.msg"
"lighthouse/blockchain/JoinChain.srv"
"lighthouse/blockchain/VoteChain.srv"
"lighthouse/blockchain/UpdateChain.srv"
"lighthouse/agents/Participant.msg"
"lighthouse/agents/Agent.msg"
"lighthouse/agents/Agents.msg"
"taskforce/Job.msg"
"taskforce/Auction.msg"
"taskforce/Bid.msg"
"taskforce/Job.srv"
"trailblazer/Line.msg"
"trailblazer/Lines.msg"
"trailblazer/Field.msg"
"trailblazer/FieldGen.srv"
"trailblazer/FieldOp.srv"
"cartograph/GeoJson.msg"
"cartograph/Cordinate.msg"
"cartograph/Cordinates.msg"
"cartograph/Geometry.msg"
"cartograph/Feature.msg"
"cartograph/Propertie.msg"
"cartograph/GeoTiff.msg"
"cartograph/Band.msg"
"cartograph/Grid.msg"
DEPENDENCIES nav_msgs std_msgs geometry_msgs sensor_msgs
)
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_package()