1 Star 1 Fork 1

Zhangfei_Wang/ndt_localizer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 1.36 KB
一键复制 编辑 原始数据 按行查看 历史
AdamShan 提交于 2020-05-31 20:17 . add cpp 14 standard
cmake_minimum_required(VERSION 2.8.3)
project(ndt_localizer)
set(CMAKE_CXX_STANDARD 14)
find_package(catkin REQUIRED COMPONENTS
roscpp
tf2
tf2_ros
tf2_geometry_msgs
std_msgs
geometry_msgs
sensor_msgs
nav_msgs
diagnostic_msgs
pcl_conversions
pcl_ros
message_generation
)
generate_messages(
DEPENDENCIES
std_msgs
)
find_package(PCL REQUIRED QUIET)
catkin_package(
INCLUDE_DIRS include
CATKIN_DEPENDS
roscpp
tf2
tf2_ros
tf2_geometry_msgs
geometry_msgs
sensor_msgs
nav_msgs
diagnostic_msgs
pcl_conversions
pcl_ros
message_generation
)
include_directories(include ${catkin_INCLUDE_DIRS})
###########
## Build ##
###########
include_directories(include ${catkin_INCLUDE_DIRS})
SET(CMAKE_CXX_FLAGS "-O2 -g -Wall ${CMAKE_CXX_FLAGS}")
add_executable(voxel_grid_filter nodes/voxel_grid_filter.cpp)
add_dependencies(voxel_grid_filter ${catkin_EXPORTED_TARGETS})
target_link_libraries(voxel_grid_filter ${catkin_LIBRARIES})
add_executable(map_loader nodes/mapLoader.cpp)
target_link_libraries(map_loader ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_executable(ndt_localizer_node nodes/ndt.cpp)
target_link_libraries(ndt_localizer_node ${catkin_LIBRARIES} ${PCL_LIBRARIES})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wang_zhang_fei/ndt_localizer.git
git@gitee.com:wang_zhang_fei/ndt_localizer.git
wang_zhang_fei
ndt_localizer
ndt_localizer
master

搜索帮助