2025-01-24 00:11:17 +00:00
|
|
|
# SPDX-FileCopyrightText: 2024 Deskflow Developers
|
|
|
|
|
# SPDX-FileCopyrightText: 2024 Symless Ltd
|
|
|
|
|
# SPDX-License-Identifier: MIT
|
2024-07-23 19:17:40 +00:00
|
|
|
|
|
|
|
|
set(target gui)
|
|
|
|
|
|
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
|
|
2025-01-15 01:20:04 +00:00
|
|
|
if(APPLE)
|
|
|
|
|
set (platform_sources
|
|
|
|
|
OSXHelpers.h
|
|
|
|
|
OSXHelpers.mm
|
|
|
|
|
)
|
2024-08-07 14:05:18 +00:00
|
|
|
endif()
|
|
|
|
|
|
2025-01-15 01:20:04 +00:00
|
|
|
add_library(${target} STATIC
|
|
|
|
|
${platform_sources}
|
2025-03-28 21:58:30 +00:00
|
|
|
Action.cpp
|
|
|
|
|
Action.h
|
|
|
|
|
Diagnostic.cpp
|
|
|
|
|
Diagnostic.h
|
2025-02-10 12:58:23 +00:00
|
|
|
FileTail.cpp
|
|
|
|
|
FileTail.h
|
2025-03-28 21:58:30 +00:00
|
|
|
Hotkey.cpp
|
|
|
|
|
Hotkey.h
|
|
|
|
|
KeySequence.cpp
|
|
|
|
|
KeySequence.h
|
2025-01-15 01:20:04 +00:00
|
|
|
Logger.cpp
|
|
|
|
|
Logger.h
|
2025-03-28 21:58:30 +00:00
|
|
|
MainWindow.cpp
|
|
|
|
|
MainWindow.h
|
|
|
|
|
MainWindow.ui
|
2025-03-19 21:47:24 +00:00
|
|
|
Messages.cpp
|
|
|
|
|
Messages.h
|
2025-03-28 21:58:30 +00:00
|
|
|
ScreenSetupModel.cpp
|
|
|
|
|
ScreenSetupModel.h
|
2025-03-19 21:54:25 +00:00
|
|
|
Styles.h
|
2025-03-28 21:58:30 +00:00
|
|
|
StyleUtils.h
|
2025-11-22 17:49:09 +00:00
|
|
|
TlsUtility.cpp
|
|
|
|
|
TlsUtility.h
|
2025-03-28 21:58:30 +00:00
|
|
|
VersionChecker.cpp
|
|
|
|
|
VersionChecker.h
|
2025-01-15 01:20:04 +00:00
|
|
|
config/IServerConfig.h
|
|
|
|
|
config/Screen.cpp
|
|
|
|
|
config/Screen.h
|
|
|
|
|
config/ScreenConfig.cpp
|
|
|
|
|
config/ScreenConfig.h
|
|
|
|
|
config/ScreenList.cpp
|
|
|
|
|
config/ScreenList.h
|
2025-07-09 07:44:09 +00:00
|
|
|
config/ServerConfig.cpp
|
|
|
|
|
config/ServerConfig.h
|
2025-01-15 01:20:04 +00:00
|
|
|
core/ClientConnection.cpp
|
|
|
|
|
core/ClientConnection.h
|
|
|
|
|
core/CommandProcess.cpp
|
|
|
|
|
core/CommandProcess.h
|
|
|
|
|
core/CoreProcess.cpp
|
|
|
|
|
core/CoreProcess.h
|
|
|
|
|
core/ServerConnection.cpp
|
|
|
|
|
core/ServerConnection.h
|
|
|
|
|
core/ServerMessage.cpp
|
|
|
|
|
core/ServerMessage.h
|
|
|
|
|
core/WaylandWarnings.cpp
|
|
|
|
|
core/WaylandWarnings.h
|
2025-03-28 21:58:30 +00:00
|
|
|
dialogs/AboutDialog.cpp
|
|
|
|
|
dialogs/AboutDialog.h
|
|
|
|
|
dialogs/AboutDialog.ui
|
|
|
|
|
dialogs/ActionDialog.cpp
|
|
|
|
|
dialogs/ActionDialog.h
|
|
|
|
|
dialogs/ActionDialog.ui
|
|
|
|
|
dialogs/FingerprintDialog.cpp
|
|
|
|
|
dialogs/FingerprintDialog.h
|
|
|
|
|
dialogs/HotkeyDialog.cpp
|
|
|
|
|
dialogs/HotkeyDialog.h
|
|
|
|
|
dialogs/HotkeyDialog.ui
|
|
|
|
|
dialogs/ScreenSettingsDialog.cpp
|
|
|
|
|
dialogs/ScreenSettingsDialog.h
|
|
|
|
|
dialogs/ScreenSettingsDialog.ui
|
|
|
|
|
dialogs/ServerConfigDialog.cpp
|
|
|
|
|
dialogs/ServerConfigDialog.h
|
|
|
|
|
dialogs/ServerConfigDialog.ui
|
|
|
|
|
dialogs/SettingsDialog.cpp
|
|
|
|
|
dialogs/SettingsDialog.h
|
|
|
|
|
dialogs/SettingsDialog.ui
|
2025-02-06 12:03:51 +00:00
|
|
|
ipc/DaemonIpcClient.cpp
|
|
|
|
|
ipc/DaemonIpcClient.h
|
2025-03-28 21:58:30 +00:00
|
|
|
validators/AliasValidator.cpp
|
|
|
|
|
validators/AliasValidator.h
|
|
|
|
|
validators/ComputerNameValidator.cpp
|
|
|
|
|
validators/ComputerNameValidator.h
|
|
|
|
|
validators/EmptyStringValidator.cpp
|
|
|
|
|
validators/EmptyStringValidator.h
|
|
|
|
|
validators/IStringValidator.cpp
|
|
|
|
|
validators/IStringValidator.h
|
|
|
|
|
validators/LineEditValidator.cpp
|
|
|
|
|
validators/LineEditValidator.h
|
|
|
|
|
validators/ScreenDuplicationsValidator.cpp
|
|
|
|
|
validators/ScreenDuplicationsValidator.h
|
|
|
|
|
validators/ScreenNameValidator.cpp
|
|
|
|
|
validators/ScreenNameValidator.h
|
|
|
|
|
validators/SpacesValidator.cpp
|
|
|
|
|
validators/SpacesValidator.h
|
|
|
|
|
validators/ValidationError.cpp
|
|
|
|
|
validators/ValidationError.h
|
2025-09-12 20:15:09 +00:00
|
|
|
validators/IpAddressValidator.cpp
|
|
|
|
|
validators/IpAddressValidator.h
|
2025-03-28 21:58:30 +00:00
|
|
|
widgets/FingerprintPreview.cpp
|
|
|
|
|
widgets/FingerprintPreview.h
|
|
|
|
|
widgets/KeySequenceWidget.cpp
|
|
|
|
|
widgets/KeySequenceWidget.h
|
2025-09-04 03:22:58 +00:00
|
|
|
widgets/LogDock.cpp
|
|
|
|
|
widgets/LogDock.h
|
2025-08-22 00:12:26 +00:00
|
|
|
widgets/LogWidget.h
|
|
|
|
|
widgets/LogWidget.cpp
|
2025-03-28 21:58:30 +00:00
|
|
|
widgets/NewScreenWidget.cpp
|
|
|
|
|
widgets/NewScreenWidget.h
|
|
|
|
|
widgets/ScreenSetupView.cpp
|
|
|
|
|
widgets/ScreenSetupView.h
|
|
|
|
|
widgets/TrashScreenWidget.cpp
|
|
|
|
|
widgets/TrashScreenWidget.h
|
2025-01-15 01:20:04 +00:00
|
|
|
)
|
2024-09-09 10:18:17 +00:00
|
|
|
|
2024-07-23 19:17:40 +00:00
|
|
|
target_link_libraries(
|
|
|
|
|
${target}
|
2025-03-08 15:10:42 +00:00
|
|
|
common
|
2024-10-21 20:39:15 +00:00
|
|
|
platform
|
2024-07-23 19:17:40 +00:00
|
|
|
Qt6::Core
|
|
|
|
|
Qt6::Widgets
|
|
|
|
|
Qt6::Network)
|
2024-10-29 18:09:43 +00:00
|
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
|
target_link_libraries(
|
|
|
|
|
${target}
|
|
|
|
|
base
|
|
|
|
|
arch
|
2025-01-29 04:38:54 +00:00
|
|
|
net
|
2024-10-29 18:09:43 +00:00
|
|
|
)
|
|
|
|
|
endif()
|