-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
69 lines (51 loc) · 1.34 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
cmake_minimum_required(VERSION 2.8.3)
project(summit_xl_robot_control)
find_package(catkin REQUIRED COMPONENTS
nav_msgs
robotnik_msgs
roscpp
sensor_msgs
geometry_msgs
tf
)
###################################
## catkin specific configuration ##
###################################
catkin_package(
CATKIN_DEPENDS
nav_msgs
robotnik_msgs
roscpp
sensor_msgs
geometry_msgs
tf
)
###########
## Build ##
###########
include_directories(
${catkin_INCLUDE_DIRS}
)
add_executable(summit_xl_robot_control src/summit_xl_robot_control.cpp)
## add_executable(summit_xl_robot_control_vrep src/summit_xl_robot_control_vrep.cpp)
add_dependencies(summit_xl_robot_control robotnik_msgs_generate_messages_cpp)
## add_dependencies(summit_xl_robot_control_vrep robotnik_msgs_generate_messages_cpp)
target_link_libraries(summit_xl_robot_control
${catkin_LIBRARIES}
)
## target_link_libraries(summit_xl_robot_control_vrep
## ${catkin_LIBRARIES}
## )
## add_executable(summit_test_drive src/summit_test_drive.cpp)
## target_link_libraries(summit_test_drive ${catkin_LIBRARIES})
#############
## Install ##
#############
install(
TARGETS summit_xl_robot_control
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
## install(
## DIRECTORY launch config
## DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
## )