21 lines
580 B
CMake
21 lines
580 B
CMake
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
|
|
)
|
|
|
|
target_link_libraries(Analyser
|
|
PRIVATE Universal
|
|
PRIVATE QtComponets
|
|
PRIVATE Ws2_32
|
|
PRIVATE Qt${QT_VERSION_MAJOR}::Widgets
|
|
PRIVATE Qt${QT_VERSION_MAJOR}::SerialPort
|
|
)
|