forked from ros-industrial-attic/godel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
79 lines (67 loc) · 1.87 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
68
69
70
71
72
73
74
75
76
77
78
79
cmake_minimum_required(VERSION 2.8.12)
project(godel_process_planning)
add_compile_options(-std=c++11)
find_package(catkin REQUIRED COMPONENTS
descartes_core
descartes_moveit
descartes_planner
descartes_trajectory
godel_msgs
moveit_ros_planning_interface
roscpp
)
catkin_package(
INCLUDE_DIRS include
CATKIN_DEPENDS
descartes_core
descartes_moveit
descartes_planner
descartes_trajectory
godel_msgs
moveit_ros_planning_interface
roscpp
)
###########
## Build ##
###########
include_directories(
include
${catkin_INCLUDE_DIRS}
)
## Declare a cpp executable
add_executable(godel_process_planning_node
src/blend_process_planning.cpp
src/common_utils.cpp
src/godel_process_planning.cpp
src/godel_process_planning_node.cpp
src/keyence_process_planning.cpp
src/trajectory_utils.cpp
src/generate_motion_plan.cpp
src/path_transitions.cpp
)
## Add cmake target dependencies of the executable/library
## as an example, message headers may need to be generated before nodes
add_dependencies(godel_process_planning_node godel_msgs_generate_messages_cpp)
## Specify libraries to link a library or executable target against
target_link_libraries(godel_process_planning_node
${catkin_LIBRARIES}
)
#############
## Install ##
#############
# Mark executables and/or libraries for installation
install(TARGETS godel_process_planning_node
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
## Mark cpp header files for installation
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
FILES_MATCHING PATTERN "*.h"
PATTERN ".svn" EXCLUDE
)
## Mark other files for installation (e.g. launch and bag files, etc.)
install(DIRECTORY launch
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)