-
Notifications
You must be signed in to change notification settings - Fork 10
/
CMakeLists.txt
61 lines (51 loc) · 1.55 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
cmake_minimum_required(VERSION 2.8.3)
SET(PROJECTNAME romeo_moveit_actions)
project(${PROJECTNAME})
find_package(catkin REQUIRED COMPONENTS
moveit_ros_planning
moveit_ros_planning_interface
moveit_visual_tools
moveit_simple_grasps
std_msgs
geometry_msgs
geometric_shapes
roscpp
cmake_modules
object_recognition_msgs
actionlib
)
find_package(Boost REQUIRED system thread date_time system filesystem)
find_package(Boost QUIET COMPONENTS program_options)
catkin_package(
INCLUDE_DIRS include
CATKIN_DEPENDS roscpp geometry_msgs geometric_shapes std_msgs moveit_ros_planning moveit_ros_planning_interface moveit_visual_tools moveit_simple_grasps object_recognition_msgs
)
###########
## Build ##
###########
include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS})
link_directories(${Boost_LIBRARY_DIRS})
set(SRC
src/main.cpp
src/simplepickplace.cpp
src/metablock.cpp
src/action.cpp
src/postures.cpp
src/objprocessing.cpp
src/evaluation.cpp
src/toolsForObject.cpp
include/romeo_moveit_actions/simplepickplace.hpp
include/romeo_moveit_actions/metablock.hpp
include/romeo_moveit_actions/action.hpp
include/romeo_moveit_actions/postures.hpp
include/romeo_moveit_actions/tools.hpp
include/romeo_moveit_actions/toolsForAction.hpp
include/romeo_moveit_actions/toolsForObject.hpp
include/romeo_moveit_actions/evaluation.hpp
include/romeo_moveit_actions/objprocessing.hpp
)
# Main executable
add_executable(${PROJECTNAME} ${SRC})
target_link_libraries(${PROJECTNAME}
${catkin_LIBRARIES}
${Boost_LIBRARIES})