-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
67 lines (56 loc) · 1.44 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
cmake_minimum_required(VERSION 3.0.2)
project(msdp)
## Compile as C++11, supported in ROS Kinetic and newer
# add_compile_options(-std=c++11)
find_package(catkin REQUIRED COMPONENTS
interactive_markers
moveit_core
moveit_ros_planning
moveit_ros_planning_interface
moveit_ros_perception
rviz_visual_tools
moveit_visual_tools
pcl_conversions
pcl_ros
roscpp
rospy
tf
tf2_eigen
tf2_geometry_msgs
tf2_ros
# visp_bridge
message_generation
std_msgs
geometry_msgs
sensor_msgs
the_mainest
)
find_package(Eigen3 REQUIRED)
find_package(Boost REQUIRED system filesystem date_time thread)
# find_package(VISP REQUIRED)
include_directories(SYSTEM ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIR} ${EIGEN3_INCLUDE_DIRS})
catkin_package(
LIBRARIES
INCLUDE_DIRS
CATKIN_DEPENDS
moveit_core
moveit_visual_tools
moveit_ros_planning_interface
interactive_markers
tf2_geometry_msgs
the_mainest
DEPENDS
EIGEN3
)
include_directories(${THIS_PACKAGE_INCLUDE_DIRS})
include_directories(SYSTEM ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIR} ${EIGEN3_INCLUDE_DIRS})
add_executable(add_object_node src/add_object_node.cpp)
target_link_libraries(add_object_node
${catkin_LIBRARIES}
)
add_dependencies(add_object_node ${catkin_EXPORTED_TARGETS})
add_executable(pick_and_place src/pick_and_place.cpp)
target_link_libraries(pick_and_place
${catkin_LIBRARIES}
)
add_dependencies(pick_and_place ${catkin_EXPORTED_TARGETS})