加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
root 提交于 2023-09-24 00:07 . feat: AXeraChip
cmake_minimum_required (VERSION 3.8)
project ("sas-algorithm-2024")
# if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
# add_compile_options(-Wall -Wextra -Wpedantic)
# endif()
# find dependencies
# find_package(ament_cmake REQUIRED)
# find_package(rclcpp REQUIRED)
# find_package(geometry_msgs REQUIRED)
# find_package(tf2 REQUIRED)
# find_package(tf2_ros REQUIRED)
# find_package(std_msgs REQUIRED)
# find_package(rclcpp_action REQUIRED)
# find_package(nav2_msgs REQUIRED)
# find_package(nav2_map_server REQUIRED)
find_package(OpenCV REQUIRED)
# opencv include path: /usr/local/include/opencv4
include_directories(${OpenCV_INCLUDE_DIRS} "./include" "/opt/include")
link_directories("./lib")
link_libraries(${OpenCV_LIBS})
# target_link_libraries(main_sentry2 ${OpenCV_LIBS} "libonnxruntime.so" "libMVSDK.so")
# ament_target_dependencies(Sentinel
# geometry_msgs
# std_msgs
# rclcpp
# tf2
# tf2_ros
# rclcpp_action
# nav2_msgs
# nav2_map_server
# )
# ament_package()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化