-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
66 lines (54 loc) · 1.58 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
cmake_minimum_required(VERSION 3.5)
project(large_scale_drawing)
# set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")
find_package(catkin REQUIRED COMPONENTS
roscpp
iiwa_ros
moveit_core
moveit_ros_planning
moveit_ros_planning_interface
moveit_visual_tools
actionlib
move_base_msgs #below
geometry_msgs
std_msgs
roslib
tf
tf2
tf2_ros
tf2_geometry_msgs
)
include_directories(iiwa/include manager/include ${catkin_INCLUDE_DIRS})
ADD_LIBRARY(drawingInput
iiwa/src/drawing_input_range.cpp
iiwa/src/KDTree.cpp
)
ADD_LIBRARY(drawingMoveit
iiwa/src/moveit/drawing_moveit.cpp
)
#add_message_files(
# FILES
# drawingRange.msg
# minmaxY.msg
# drawingPose.msg
#)
#generate_messages(
# DEPENDENCIES
# std_msgs
# geometry_msgs
#)
catkin_package()
# sim
#add_executable(drawing_moveit iiwa/src/moveit/drawing_moveit.cpp)
#add_dependencies(drawing_moveit iiwa_msgs_generate_messages_cpp)
#target_link_libraries(drawing_moveit drawingInput ${catkin_LIBRARIES}) #
add_executable(drawing_manager manager/src/drawing_manager.cpp)
add_dependencies(drawing_manager iiwa_msgs_generate_messages_cpp)
target_link_libraries(drawing_manager drawingInput drawingMoveit ${catkin_LIBRARIES}) #
add_executable(marker_publisher manager/src/marker_publisher.cpp)
add_dependencies(marker_publisher iiwa_msgs_generate_messages_cpp)
target_link_libraries(marker_publisher ${catkin_LIBRARIES})
# real
#add_executable(drawing_iiwa iiwa/src/drawing_iiwa.cpp)
#add_dependencies(drawing_iiwa iiwa_msgs_generate_messages_cpp)
#target_link_libraries(drawing_iiwa drawingInput ${catkin_LIBRARIES}) #