-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
53 lines (41 loc) · 1.08 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
project(simar_msgs)
cmake_minimum_required(VERSION 3.5.1)
##################################
## Configure CATKIN dependecies ##
##################################
find_package(catkin REQUIRED
COMPONENTS
std_msgs
geometry_msgs
message_generation
nav_msgs
)
find_package(catkin REQUIRED COMPONENTS
std_msgs
geometry_msgs
message_generation
sensor_msgs
nav_msgs
)
################################################
## Declare ROS messages, services and actions ##
################################################
add_message_files(DIRECTORY msg)
add_service_files(DIRECTORY srv)
generate_messages(DEPENDENCIES std_msgs geometry_msgs nav_msgs)
###################################
## CATKIN specific configuration ##
###################################
catkin_package(
CATKIN_DEPENDS message_runtime std_msgs geometry_msgs sensor_msgs nav_msgs
DEPENDS
)
#############
## Install ##
#############
install(DIRECTORY msg
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
# install(DIRECTORY srv
# DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
# )