1 Star 0 Fork 0

阿木木/OpenCalibGui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
铜锣烧阿南 提交于 2022-03-23 10:17 . V1.0
cmake_minimum_required(VERSION 3.5)
project(OpenCalibGui VERSION 0.1 LANGUAGES CXX)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Qt5 COMPONENTS Widgets REQUIRED)
find_package(OpenCV REQUIRED)
#set(OpenCV_LIBS
# F:/library/opencv/build/x64/vc15/lib/opencv_world342.lib)
#set(OpenCV_INCLUDE_DIRS
# F:/library/opencv/build/include
# )
include_directories(
${OpenCV_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/include)
set(PROJECT_SOURCES
main.cpp
${PROJECT_SOURCE_DIR}/include/mainwindow.h
${PROJECT_SOURCE_DIR}/include/thumbnail.h
${PROJECT_SOURCE_DIR}/include/calibration.h
${PROJECT_SOURCE_DIR}/src/mainwindow.cpp
${PROJECT_SOURCE_DIR}/src/thumbnail.cpp
${PROJECT_SOURCE_DIR}/src/calibration.cpp
${PROJECT_SOURCE_DIR}/src/mainwindow.ui
${PROJECT_SOURCE_DIR}/src/thumbnail.ui
)
add_executable(${PROJECT_NAME}
${PROJECT_SOURCES}
)
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Widgets ${OpenCV_LIBS})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/YaoFL/OpenCalibGui.git
git@gitee.com:YaoFL/OpenCalibGui.git
YaoFL
OpenCalibGui
OpenCalibGui
master

搜索帮助