-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
55 lines (43 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
cmake_minimum_required(VERSION 3.0.2)
project(fanuc_at_home)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_EXTENSIONS OFF)
find_package(catkin REQUIRED
COMPONENTS
interactive_markers
moveit_core
moveit_visual_tools
moveit_ros_planning
moveit_ros_planning_interface
moveit_ros_perception
pluginlib
geometric_shapes
pcl_ros
pcl_conversions
rosbag
tf2_ros
tf2_eigen
tf2_geometry_msgs
)
find_package(Eigen3 REQUIRED)
find_package(Boost REQUIRED system filesystem date_time thread)
catkin_package(
LIBRARIES
INCLUDE_DIRS
CATKIN_DEPENDS
moveit_core
moveit_visual_tools
moveit_ros_planning_interface
interactive_markers
tf2_geometry_msgs
DEPENDS
EIGEN3
)
###########
## Build ##
###########
include_directories(${THIS_PACKAGE_INCLUDE_DIRS} ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIR} ${EIGEN3_INCLUDE_DIRS})
add_executable(fanuc_move_group src/fanuc_move_group.cpp)
add_executable(go_and_pick src/go_and_pick.cpp)
target_link_libraries(fanuc_move_group ${catkin_LIBRARIES} ${Boost_LIBRARIES})
target_link_libraries(go_and_pick ${catkin_LIBRARIES} ${Boost_LIBRARIES})