new by zz

This commit is contained in:
2021-11-03 09:39:17 +08:00
parent e75bc37b57
commit 617a16002f
9 changed files with 375 additions and 35 deletions

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.3)
project(TowerOptoSifAndSpectral)
set(QT Core Network WebSockets SerialPort)
set(QT Core Network WebSockets SerialPort Widgets)
find_package(Qt5 REQUIRED ${QT})
@ -10,8 +10,9 @@ find_package(Qt5 REQUIRED ${QT})
file(GLOB_RECURSE HDR_LIST "source/*.h")
file(GLOB_RECURSE SRC_LIST "source/*.cpp")
include_directories("source")
include_directories("source/ATP")
include_directories("source/Logger")
add_executable( TowerOptoSifAndSpectral
main.cpp
@ -21,6 +22,6 @@ add_executable( TowerOptoSifAndSpectral
qt5_use_modules(TowerOptoSifAndSpectral ${QT})
set_target_properties(TowerOptoSifAndSpectral PROPERTIES AUTOMOC ON)
#Qt5_DIR("C:\Qt\Qt5.9.0")
#include_directories("C:/Qt/Qt5.9.0/5.9/msvc2017_64/include")