-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
29 lines (23 loc) · 1.41 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
cmake_minimum_required(VERSION 3.22)
project(desk_control)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
find_package(Qt6 COMPONENTS
Core
Gui
Widgets
Bluetooth
REQUIRED)
add_executable(desk_control application.qrc src/main.cpp src/Bluetooth/Service/BluetoothController.cpp src/Bluetooth/Service/BluetoothController.h src/Bluetooth/Service/BluetoothScanner.cpp src/Bluetooth/Service/BluetoothScanner.h src/Bluetooth/Model/Desk.cpp src/Bluetooth/Model/Desk.h src/Gui/MainWindow/MainWindow.cpp src/Gui/MainWindow/MainWindow.h src/Gui/MainWindow/MainWindow.ui src/Gui/DeviceScanWindow/DeviceScanWindow.cpp src/Gui/DeviceScanWindow/DeviceScanWindow.h src/Gui/DeviceScanWindow/DeviceScanWindow.ui src/Gui/Model/DeskModel.cpp src/Gui/Model/DeskModel.h src/Bluetooth/Service/TargetHeightMovementService.cpp src/Bluetooth/Service/TargetHeightMovementService.h src/Gui/Model/PositionModel.cpp src/Gui/Model/PositionModel.h src/Gui/Model/Position.cpp src/Gui/Model/Position.h src/Config/ConfigStorage.cpp src/Config/ConfigStorage.h src/Config/Model/Config.cpp src/Config/Model/Config.h)
set_target_properties(desk_control PROPERTIES
MACOSX_BUNDLE TRUE
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist
)
target_link_libraries(desk_control
Qt::Core
Qt::Gui
Qt::Widgets
Qt::Bluetooth
)