mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-19 19:49:42 +08:00
new by zz
This commit is contained in:
@ -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")
|
Reference in New Issue
Block a user