Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Tools/ConfigX/CMakeLists.txt
T
2026-09-01 12:27:57 +02:00

45 lines
810 B
CMake
Executable File

#
# Tool to easily & quickly configure customer X server screen positions
#
# $Id$
# $HeadURL$
# $Author$
#
# Created by Mike Wille, NLSE, 2018-02-02
#
# Make ${Qt6_Widgets} optional
if(QT6_GUI_AVAILABLE AND TARGET Qt6::Widgets)
set(Qt6_Widgets ${Qt6_Widgets})
else()
set(Qt6_Widgets "")
endif()
IF(NOT WIN32)
SET(ConfigX_SRCS
main.cpp
configurator.h
configurator.cpp
guez2018/guez2018.h
guez2018/guez2018.cpp
)
SET(ConfigX_UICS
guez2018/guez2018.ui
)
QT5_ADD_RESOURCES(ConfigX_SRCS resources.qrc)
NGL_WRAP_UI(ConfigX_SRCS ${ConfigX_UICS})
NGL_ADD_EXECUTABLE(WS ConfigX NO_TRANSLATION ${ConfigX_SRCS} ${ConfigX_UICS})
if(QT6_GUI_AVAILABLE)
NGL_TARGET_LINK_LIBRARIES(ConfigX
${Qt6_Widgets}
)
endif()
NGL_INSTALL_TARGET(ConfigX)
ENDIF(NOT WIN32)