Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Tools/ProjectSettingsEditor/CMakeLists.txt
T
torstenandCopilot 1e1a3e6f30 Group 8 migration: Add build script support and CTest infrastructure
- Added --group8/--no-group8 argument support to new_docker_build.sh
- Added BUILD_GROUP8 variable and GROUP8_TARGETS array
- Fixed ProjectSettingsEditor Qt6 migration (QT5_ADD_RESOURCES → qt6_add_resources)
- Created CTest test files for 4 buildable Group 8 tools:
  - test_ParticipantDataGenerator.cpp
  - test_ProjectSettingsEditor.cpp
  - test_QLedLine.cpp
  - test_QLedMatrix.cpp
- Added test exclusion filters to tests/CMakeLists.txt for Group 8 tools
- Excluded non-CMake projects: JustusTimeline (Python), Mout (web), NodeJs (Node.js), ProjectSettingsParser (Python)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-24 16:33:26 +00:00

53 lines
1.1 KiB
CMake
Executable File

#
# $Id$
# $HeadURL$
# $Author$
#
# CMakeLists.txt fuer ProjectSettingsEditor
#
# Make ${Qt6_Widgets} optional
if(QT6_GUI_AVAILABLE AND TARGET Qt6::Widgets)
set(Qt6_Widgets ${Qt6_Widgets})
else()
set(Qt6_Widgets "")
endif()
SET (settingsEditor_SRCS
function_keys_edit.cpp
function_keys_edit.h
main.cpp
main_window.cpp
main_window.h
templates.qrc
)
SET (settingsEditor_UICS
function_keys_edit.ui
main_window.ui
)
qt6_add_resources(settingsEditor_SRCS templates.qrc)
NGL_WRAP_UI(settingsEditor_SRCS ${settingsEditor_UICS})
NGL_ADD_TOOL_ICON(settingsEditor_SRCS)
NGL_ADD_EXECUTABLE(ProjectSettingsEditor TOOLSSV TOOLSWS NO_TRANSLATION ${settingsEditor_SRCS} ${settingsEditor_UICS})
if(QT6_GUI_AVAILABLE)
NGL_TARGET_LINK_LIBRARIES(ProjectSettingsEditor
LtsCommandLineParser
LtsPluginLoader
StylePluginInterface
Qt6::Core
${Qt6_Widgets}
NGLLogger
nglapplication
nglwidgets
)
endif()
IF (NOT BUILD_RPM)
NGL_INSTALL_TARGET(ProjectSettingsEditor)
# NGL_INSTALL(TOOLS FILES log4cxx_projectSettingsEditor.props DESTINATION "bin") < file missing
ENDIF()