1 Star 2 Fork 2

Craipy/shared_memory_communicator

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 953 Bytes
一键复制 编辑 原始数据 按行查看 历史
Craipy 提交于 2024-12-16 04:10 . feat: 新版本的更新
cmake_minimum_required(VERSION 3.0.2)
project(shared_memory_communicator)
find_package(catkin REQUIRED COMPONENTS roscpp)
# System dependencies are found with CMake's conventions
find_package(Boost REQUIRED)
catkin_package(
INCLUDE_DIRS
include
LIBRARIES
CATKIN_DEPENDS
roscpp
DEPENDS
Boost)
# ##############################################################################
# Build ##
# ##############################################################################
# Specify additional locations of header files Your package locations should be
# listed before other locations
include_directories(include ${catkin_INCLUDE_DIRS})
add_executable(sm_test test/sm_test.cpp)
target_link_libraries(sm_test ${catkin_LIBRARIES} rt pthread)
# Mark cpp header files for installation
install(
DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
FILES_MATCHING
PATTERN "*.hpp"
PATTERN ".svn" EXCLUDE)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/craipy/shared_memory_communicator.git
git@gitee.com:craipy/shared_memory_communicator.git
craipy
shared_memory_communicator
shared_memory_communicator
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385