-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
59 lines (48 loc) · 1.43 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
cmake_minimum_required(VERSION 2.8.3)
project(vigir_perception_msgs)
find_package(catkin REQUIRED COMPONENTS
message_generation
geometry_msgs
sensor_msgs
actionlib_msgs
octomap_msgs
std_msgs
)
add_message_files(
DIRECTORY msg
FILES
DownSampledImageRequest.msg
EnvironmentRegionRequest.msg
PointCloudTypeRegionRequest.msg
RaycastRequest.msg
FilteredLocalizedLaserScan.msg
CompressedFilteredScanData.msg
LocalizedImage.msg)
add_service_files(
DIRECTORY srv
FILES
GetPoseInFrame.srv
PointCloudRegionRequest.srv
OctomapRegionRequest.srv
)
add_action_files(
FILES
GetLocomotionTargetPose.action
)
generate_messages(DEPENDENCIES sensor_msgs geometry_msgs actionlib_msgs octomap_msgs std_msgs)
include_directories(include ${catkin_INCLUDE_DIRS})
catkin_package(
INCLUDE_DIRS include
CATKIN_DEPENDS sensor_msgs geometry_msgs message_runtime std_msgs
DEPENDS)
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
FILES_MATCHING PATTERN "*.h")
add_executable(vigir_perception_msgs_test test/main.cpp)
add_dependencies(vigir_perception_msgs_test ${PROJECT_NAME}_generate_messages)
target_link_libraries(vigir_perception_msgs_test ${catkin_LIBRARIES})
install(TARGETS vigir_perception_msgs_test
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)