Revision 3f5aa522
changed buggymsgs to buggycommon
buggynav/CMakeLists.txt | ||
---|---|---|
11 | 11 |
roscpp |
12 | 12 |
rospy |
13 | 13 |
std_msgs |
14 |
buggymsgs
|
|
14 |
buggycommon
|
|
15 | 15 |
) |
16 | 16 |
|
17 | 17 |
## System dependencies are found with CMake's conventions |
... | ... | |
87 | 87 |
catkin_package( |
88 | 88 |
# INCLUDE_DIRS include |
89 | 89 |
# LIBRARIES buggynav |
90 |
CATKIN_DEPENDS roscpp rospy std_msgs message_runtime buggymsgs
|
|
90 |
CATKIN_DEPENDS roscpp rospy std_msgs message_runtime buggycommon
|
|
91 | 91 |
# DEPENDS system_lib |
92 | 92 |
) |
93 | 93 |
|
... | ... | |
113 | 113 |
# Add teleop executable |
114 | 114 |
add_executable(teleop src/teleop_nav.cpp) |
115 | 115 |
target_link_libraries(teleop ${catkin_LIBRARIES}) |
116 |
add_dependencies(teleop buggymsgs_generate_messages_cpp)
|
|
116 |
add_dependencies(teleop buggycommon_generate_messages_cpp)
|
|
117 | 117 |
|
118 | 118 |
# Add Path-Following executable |
119 | 119 |
add_executable(waypoints |
120 | 120 |
src/waypoint_nav.cpp |
121 | 121 |
src/waypoint_nav.h) |
122 | 122 |
target_link_libraries(waypoints ${catkin_LIBRARIES}) |
123 |
add_dependencies(waypoints buggymsgs_generate_messages_cpp)
|
|
123 |
add_dependencies(waypoints buggycommon_generate_messages_cpp)
|
|
124 | 124 |
|
125 | 125 |
## Add cmake target dependencies of the executable/library |
126 | 126 |
## as an example, message headers may need to be generated before nodes |
Also available in: Unified diff