1 Star 0 Fork 1

li9616/adlink_ddsbot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
HaoChih LIN 提交于 2017-09-12 17:46 . beta 1.0
cmake_minimum_required(VERSION 2.8.3)
project(adlink_ddsbot)
## Compile as C++11, supported in ROS Kinetic and newer
# add_compile_options(-std=c++11)
## Find catkin macros and libraries
find_package(catkin REQUIRED COMPONENTS
roscpp
costmap_2d
std_msgs
geometry_msgs
message_generation
dynamic_reconfigure
)
## dynamic reconfigure config
generate_dynamic_reconfigure_options(
cfg/SwarmLayer.cfg
)
## custom message
add_message_files(
FILES
Robot.msg
MultiRobots.msg
)
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
)
catkin_package(
CATKIN_DEPENDS std_msgs geometry_msgs message_runtime costmap_2d dynamic_reconfigure
)
## Specify additional locations of header files
include_directories(
include ${catkin_INCLUDE_DIRS}
)
## add cpp library
add_library(swarm_layers src/swarm_layer.cpp)
## Add cmake target dependencies of the executable/library
add_dependencies(swarm_layers
${PROJECT_NAME}_gencfg ${${PROJECT_NAME}_EXPORTED_TARGETS} ${PROJECT_NAME}_generate_messages_cpp)
## Install costmap plugin
install(FILES costmap_plugins.xml
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
install(TARGETS swarm_layers
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/li9616/adlink_ddsbot.git
git@gitee.com:li9616/adlink_ddsbot.git
li9616
adlink_ddsbot
adlink_ddsbot
beta-1.0

搜索帮助

0d507c66 1850385 C8b1a773 1850385