-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCMakeLists.txt
89 lines (74 loc) · 2.18 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
80
81
82
83
84
85
86
87
88
89
cmake_minimum_required(VERSION 2.8.3)
project(dbw_genesis_ol_response)
find_package(catkin REQUIRED COMPONENTS
geometry_msgs
nav_msgs
roscpp
rospy
std_msgs
message_generation
)
################################################
## Declare ROS dynamic reconfigure parameters ##
################################################
## To declare and build dynamic reconfigure parameters within this
## package, follow these steps:
## * In the file package.xml:
## * add a build_depend and a run_depend tag for "dynamic_reconfigure"
## * In this file (CMakeLists.txt):
## * add "dynamic_reconfigure" to
## find_package(catkin REQUIRED COMPONENTS ...)
## * uncomment the "generate_dynamic_reconfigure_options" section below
## and list every .cfg file to be processed
## Generate dynamic reconfigure parameters in the 'cfg' folder
# generate_dynamic_reconfigure_options(
# cfg/DynReconf1.cfg
# cfg/DynReconf2.cfg
# )
###########
## MSG ##
###########
#add_message_files(
# FILES
# MPC_cmd.msg
#)
#generate_messages(
# DEPENDENCIES
# std_msgs
#)
###########
## Build ##
###########
catkin_package(
CATKIN_DEPENDS message_runtime std_msgs
)
## Specify additional locations of header files
## Your package locations should be listed before other locations
include_directories(
include
${catkin_INCLUDE_DIRS}
)
# Modified C++ Program Build of Twist Controller
#add_executable(low_level_controller src/LowLevelControlNode.cpp src/LowLevelController.cpp)
#add_dependencies(low_level_controller dbw_mkz_msgs_gencpp)
#add_dependencies(low_level_controller ${${PROJECT_NAME}_EXPORTED_TARGETS})
#target_link_libraries(low_level_controller
# ${catkin_LIBRARIES}
#)
#add_executable(twist_tester src/twist_tester.cpp)
#add_dependencies(twist_tester dbw_mkz_msgs_gencpp)
#add_dependencies(twist_tester ${PROJECT_NAME}_gencfg)
#target_link_libraries(twist_tester
# ${catkin_LIBRARIES}
#)
#############
## Install ##
#############
# Example from Twist Tester
#install(TARGETS low_level_controller
# RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
#)
install(DIRECTORY launch
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)