2024-05-21 21:09:55 +08:00
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
set(CMAKE_AUTORCC ON)
|
|
|
|
|
|
|
|
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets SerialPort)
|
|
|
|
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets SerialPort)
|
|
|
|
|
|
|
|
add_executable(Analyser Analyser.rc
|
|
|
|
main.cpp
|
|
|
|
CategoryLogSinkBackend.h CategoryLogSinkBackend.cpp
|
|
|
|
Widget.h Widget.cpp
|
|
|
|
ModuleCommunication.h ModuleCommunication.cpp
|
2024-05-24 10:23:05 +08:00
|
|
|
PalmFeatureTableModel.h PalmFeatureTableModel.cpp
|
2024-05-21 21:09:55 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(Analyser
|
|
|
|
PRIVATE QtComponets
|
2024-05-23 19:58:36 +08:00
|
|
|
PRIVATE Encrypt
|
2024-05-22 20:17:07 +08:00
|
|
|
PRIVATE Database
|
2024-05-21 21:09:55 +08:00
|
|
|
PRIVATE Ws2_32
|
|
|
|
PRIVATE Qt${QT_VERSION_MAJOR}::Widgets
|
|
|
|
PRIVATE Qt${QT_VERSION_MAJOR}::SerialPort
|
|
|
|
)
|