qt5base-lts/tests/auto/widgets/kernel/qwidget/CMakeLists.txt
Alexandru Croitor 403213240c CMake: Regenerate projects to use new qt_internal_ API
Modify special case locations to use the new API as well.
Clean up some stale .prev files that are not needed anymore.
Clean up some project files that are not used anymore.

Task-number: QTBUG-86815
Change-Id: I9947da921f98686023c6bb053dfcc101851276b5
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-09-23 16:59:06 +02:00

59 lines
1.2 KiB
CMake

# Generated from qwidget.pro.
#####################################################################
## tst_qwidget Test:
#####################################################################
qt_internal_add_test(tst_qwidget
SOURCES
tst_qwidget.cpp
PUBLIC_LIBRARIES
Qt::CorePrivate
Qt::Gui
Qt::GuiPrivate
Qt::TestPrivate
Qt::Widgets
Qt::WidgetsPrivate
)
# Resources:
set(qwidget_resource_files
"geometry-fullscreen.dat"
"geometry-maximized.dat"
"geometry.dat"
"hellotr_la.qm"
)
qt_internal_add_resource(tst_qwidget "qwidget"
PREFIX
"/"
FILES
${qwidget_resource_files}
)
#### Keys ignored in scope 1:.:.:qwidget.pro:<TRUE>:
# testcase.timeout = "600"
## Scopes:
#####################################################################
qt_internal_extend_target(tst_qwidget CONDITION AIX
COMPILE_OPTIONS
-fpermissive
)
qt_internal_extend_target(tst_qwidget CONDITION APPLE
SOURCES
tst_qwidget_mac_helpers.mm
PUBLIC_LIBRARIES
${FWAppKit}
${FWSecurity}
)
qt_internal_extend_target(tst_qwidget CONDITION WIN32
PUBLIC_LIBRARIES
gdi32
user32
)