-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
92 lines (76 loc) · 1.51 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
cmake_minimum_required(VERSION 2.8.6)
project(osm_bridge_ros_wrapper)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/ropod_wm_mediator/cmake")
set(CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR}/bin)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR})
set(INSTALL_DIR /usr/lib CACHE PATH "Installation directory for mediator")
########################################################################
# ROS dependency
########################################################################
find_package(catkin REQUIRED COMPONENTS
message_generation
genmsg
actionlib_msgs
actionlib
std_msgs
)
include_directories(
include
${catkin_INCLUDE_DIRS}
)
add_message_files(
DIRECTORY ros/msg/osm
FILES
Node.msg
Way.msg
Tag.msg
Relation.msg
Member.msg
)
add_message_files(
DIRECTORY ros/msg/planner
FILES
PlannerArea.msg
BlockedConnection.msg
)
add_message_files(
DIRECTORY ros/msg/wm
FILES
Area.msg
Building.msg
Connection.msg
Corridor.msg
Door.msg
Elevator.msg
Feature.msg
Floor.msg
LocalArea.msg
Room.msg
Side.msg
Stairs.msg
Wall.msg
Point.msg
Shape.msg
Pillar.msg
)
add_action_files(
DIRECTORY ros/action
FILES
WMQuery.action
OSMQuery.action
PathPlanner.action
GridMapGenerator.action
SemanticFeatures.action
NearestWLAN.action
)
catkin_python_setup()
generate_messages(
DEPENDENCIES
std_msgs
actionlib_msgs
)
catkin_package(CATKIN_DEPENDS
message_runtime std_msgs actionlib_msgs
)