-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
84 lines (70 loc) · 1.9 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
cmake_minimum_required(VERSION 3.7.2)
project(robotics_labs)
find_package(catkin REQUIRED
COMPONENTS
roscpp
rospy
std_msgs
geometry_msgs
shape_msgs
visualization_msgs
genmsg
simple_grasping
pcl_conversions
pcl_ros
interactive_markers
moveit_core
moveit_ros_planning
moveit_ros_planning_interface
moveit_ros_perception
rviz_visual_tools
moveit_visual_tools
pluginlib
geometric_shapes
rosbag
tf2_ros
tf2_eigen
tf2_geometry_msgs
message_generation)
find_package(Eigen3 REQUIRED)
find_package(Boost REQUIRED system filesystem date_time thread)
# set(ApproxMVBB_DIR "/home/dewey/ApproxMVBB/Build/lib/cmake")
# find_package(ApproxMVBB REQUIRED )
include_directories(include ${catkin_INCLUDE_DIRS})
add_message_files(
DIRECTORY
msg
FILES
BoxTarget.msg
)
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
visualization_msgs
)
# catkin_package()
catkin_package(CATKIN_DEPENDS message_runtime)
add_executable(segmentation src/segmentation.cpp)
target_link_libraries(segmentation ${catkin_LIBRARIES})
add_dependencies(segmentation ${catkin_EXPORTED_TARGETS})
add_executable(segment_door src/segment_door.cpp)
target_link_libraries(segment_door ${catkin_LIBRARIES})
add_dependencies(segment_door ${catkin_EXPORTED_TARGETS})
add_executable(segment_object src/segment_object.cpp)
target_link_libraries(segment_object ${catkin_LIBRARIES})
add_dependencies(segment_object ${catkin_EXPORTED_TARGETS})
add_executable(moveit_test src/moveit_test.cpp)
target_link_libraries(moveit_test ${catkin_LIBRARIES})
add_dependencies(moveit_test ${catkin_EXPORTED_TARGETS})
add_executable(motionplan src/motionplan.cpp)
target_link_libraries(motionplan ${catkin_LIBRARIES} ${Boost_LIBRARIES})
install(
PROGRAMS
scripts/demo.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
install(
DIRECTORY launch maps config msg srv
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)