-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
67 lines (52 loc) · 1.38 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 2.8.3)
project(simulacion_reparacion)
add_definitions(-std=c++11)
find_package(catkin REQUIRED COMPONENTS
roslib
descartes_core
descartes_moveit
descartes_trajectory
descartes_planner
descartes_utilities
trajectory_msgs
tf
tf_conversions
eigen_conversions
interactive_markers
moveit_core
moveit_visual_tools
moveit_ros_planning
moveit_ros_planning_interface
rviz
visualization_msgs
tutorial_utilities REQUIRED
)
catkin_package()
###########
## Build ##
###########
include_directories(
${catkin_INCLUDE_DIRS}
)
# Tutorial 1
add_executable(${PROJECT_NAME}generacion_trayectorias src/generacion_trayectorias.cpp)
target_link_libraries(${PROJECT_NAME}generacion_trayectorias
${catkin_LIBRARIES}
)
set_target_properties(${PROJECT_NAME}generacion_trayectorias
PROPERTIES OUTPUT_NAME generacion_trayectorias
PREFIX "")
#############
## Install ##
#############
install(TARGETS ${PROJECT_NAME}generacion_trayectorias
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
PATTERN "setup_assistant.launch" EXCLUDE)
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
FILES_MATCHING PATTERN "*.h"
)