1 Star 0 Fork 2

UCAS-SAS-Robot-Team/算法组自瞄

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 2.46 KB
一键复制 编辑 原始数据 按行查看 历史
Junyan721113 提交于 2022-08-28 23:30 . feat: move old rep here
cmake_minimum_required (VERSION 3.8)
project ("sas-vision")
find_package(OpenCV REQUIRED)
#add_executable (Driver_Windows "Driver/Windows/camera.c" "Driver/Windows/camera.h" "Driver/Windows/test.c")
#add_executable (Driver_Linux "Driver/Linux/camera.cpp" "Driver/Linux/camera.hpp" "Driver/Linux/test.cpp")
add_executable (Main "main.cpp"
"Driver/Linux/camera.hpp" "Driver/Linux/camera.cpp"
"Armor/Armor.hpp" "Armor/ArmorBox.cpp" "Armor/ArmorClassifier.cpp" "Armor/ArmorDetector.cpp" "Armor/Lightbar.cpp"
"Serial/platform.h" "Serial/Serial.cpp" "Serial/serial.h" "Serial/nucCommu.h" "Serial/struct_typedef.h"
"AngleSolver/AngleSolverArmor.cpp" "AngleSolver/AngleSolverArmor.hpp" "AngleSolver/AngleSolverEnergy.cpp" "AngleSolver/AngleSolverEnergy.hpp")
#add_executable (Windmills "Energy/FindWindmills/main.cpp"
#"Driver/Linux/camera.hpp" "Driver/Linux/camera.cpp" )
add_executable (KFtest "KFtest.cpp")
#add_executable (Imagetest "imagetest.cpp"
#"Armor/Armor.hpp" "Armor/ArmorBox.cpp" "Armor/ArmorClassifier.cpp" "Armor/ArmorDetector.cpp" "Armor/Lightbar.cpp"
#"Serial/platform.h" "Serial/Serial.cpp" "Serial/Serial.h" "Serial/nucCommu.h" "Serial/sendDataToSTM.cpp" "Serial/sendDataToSTM.h" "Serial/struct_typedef.h"
#"AngleSolver/AngleSolverArmor.cpp" "AngleSolver/AngleSolverArmor.hpp" "AngleSolver/AngleSolverEnergy.cpp" "AngleSolver/AngleSolverEnergy.hpp")
#add_executable (Energy "Energy/Energy.cpp" "Energy/Energy.hpp")
#add_executable (Serial "Serial/main.cpp" "Serial/platform.h" "Serial/Serial.cpp" "Serial/Serial.h" "Serial/naive_nuc_data.h" "Serial/nucCommu.h" "Serial/sendDataToSTM.cpp" "Serial/sendDataToSTM.h" "Serial/struct_typedef.h")
#target_include_directories(Driver_Linux PRIVATE ${OpenCV_INCLUDE_DIRS})
target_include_directories(Main PRIVATE ${OpenCV_INCLUDE_DIRS})
#target_include_directories(Imagetest PRIVATE ${OpenCV_INCLUDE_DIRS})
#target_include_directories(Energy PRIVATE ${OpenCV_INCLUDE_DIRS})
target_include_directories(KFtest PRIVATE ${OpenCV_INCLUDE_DIRS})
#target_link_libraries(Driver_Windows "${PROJECT_SOURCE_DIR}/Driver/Windows/MVCAMSDK_X64.lib")
#target_link_libraries(Driver_Linux PRIVATE "${PROJECT_SOURCE_DIR}/Driver/Linux/libMVSDK.so" ${OpenCV_LIBS})
target_link_libraries(Main PRIVATE "${PROJECT_SOURCE_DIR}/Driver/Linux/libMVSDK.so" ${OpenCV_LIBS})
#target_link_libraries(Imagetest PRIVATE ${OpenCV_LIBS})
#target_link_libraries(Energy PRIVATE ${OpenCV_LIBS})
target_link_libraries(KFtest PRIVATE "${PROJECT_SOURCE_DIR}/Driver/Linux/libMVSDK.so" ${OpenCV_LIBS})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/ucas-sas-robot-team/algorithm-group-self-aiming.git
git@gitee.com:ucas-sas-robot-team/algorithm-group-self-aiming.git
ucas-sas-robot-team
algorithm-group-self-aiming
算法组自瞄
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385