-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
56 lines (45 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
54
55
cmake_minimum_required(VERSION 3.0.2)
project(pose_selector)
add_compile_options(-std=c++17)
find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
roslib
std_msgs
geometry_msgs
message_generation
tf2_ros
object_pose_msgs
vision_msgs
)
add_service_files(
FILES
PoseQuery.srv
ClassQuery.srv
PoseUpdate.srv
PoseDelete.srv
ConfigSave.srv
GetPoses.srv
)
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
object_pose_msgs
)
catkin_package(
CATKIN_DEPENDS roscpp rospy geometry_msgs std_msgs message_runtime roslib object_pose_msgs vision_msgs
)
include_directories(
${catkin_INCLUDE_DIRS}
)
add_executable(${PROJECT_NAME}_node src/pose_selector_node.cpp)
add_dependencies(${PROJECT_NAME}_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(${PROJECT_NAME}_node
${catkin_LIBRARIES}
)
add_executable(dope_converter_node src/dope_to_pose_node.cpp)
target_link_libraries(dope_converter_node
${catkin_LIBRARIES}
)
add_dependencies(dope_converter_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})