Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Plugins/Styles/Test/CMakeLists.txt
T

44 lines
948 B
CMake
Executable File

#
# CMakeLists.txt for testing the Style Plugins by visualizing one
#
# $Id$
# $HeadURL$
# $Author$
# Created by Mike Wille, SLSE, 2016-05-25
#
SET(styleplugintest_SRCS
stylePluginTest.cpp
stylePluginTest.h
style_plugin_test_export.h
)
SET(styleplugintest_UICS
Ui/stylePluginTestUi.ui
)
# Qt6 Autouic search path for UI files in subdirectories
set(CMAKE_AUTOUIC_SEARCH_PATHS ${CMAKE_CURRENT_SOURCE_DIR}/Ui)
NGL_WRAP_UI(styleplugintest_SRCS ${styleplugintest_UICS})
NGL_ADD_LIBRARY2(WS NO_TRANSLATION stylePluginTest SHARED ${styleplugintest_SRCS} ${styleplugintest_UICS})
NGL_TARGET_LINK_LIBRARIES(stylePluginTest
NGLLogger
nglapplication
LtsUtilsGuiStyleManager
LtsWidgets
Qt6::Core
Qt6::Gui
Qt6::Widgets
)
#IF(BUILD_TESTING)
NGL_ADD_EXECUTABLE(WS NO_TRANSLATION stylePluginTestApp main.cpp)
NGL_TARGET_LINK_LIBRARIES(stylePluginTestApp stylePluginTest)
#ENDIF(BUILD_TESTING)
NGL_INSTALL_TARGET(stylePluginTest)