-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
57 lines (47 loc) · 1.13 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
cmake_minimum_required(VERSION 2.8.3)
project(uav_ros_bridge)
## Find catkin macros and libraries
find_package(catkin REQUIRED COMPONENTS
rospy
std_msgs
geometry_msgs
trajectory_msgs
nav_msgs
sensor_msgs
cmake_modules
message_generation
)
add_message_files(
FILES
UavState.msg
)
#add_service_files(
# FILES
# file.srv
#)
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
trajectory_msgs
nav_msgs
sensor_msgs)
catkin_package(
INCLUDE_DIRS
LIBRARIES
CATKIN_DEPENDS
DEPENDS
)
# Mark launch folder for installation
install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
# Mark config folder for installation
install(DIRECTORY config DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
# Mark scripts folder for installation
install(DIRECTORY scripts DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)
# Mark config folder for installation
install(DIRECTORY startup DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS)
# Mark all the *.xml files for installation
install(FILES package.xml
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})