代码拉取完成,页面将自动刷新
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})
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。