qt5base-lts/tests/auto/widgets/kernel/qwidget/CMakeLists.txt
Alexandru Croitor 8facb31fde CMake: Regenerate tests projects
Change-Id: I559bf2c82d83fac9bd3c52a331d99e1e83bc3f87
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-03-12 11:41:39 +01:00

59 lines
1.1 KiB
CMake

# Generated from qwidget.pro.
#####################################################################
## tst_qwidget Test:
#####################################################################
add_qt_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"
)
add_qt_resource(tst_qwidget "qwidget"
PREFIX
"/"
FILES
${qwidget_resource_files}
)
#### Keys ignored in scope 1:.:.:qwidget.pro:<TRUE>:
# testcase.timeout = "600"
## Scopes:
#####################################################################
extend_target(tst_qwidget CONDITION AIX
COMPILE_OPTIONS
-fpermissive
)
extend_target(tst_qwidget CONDITION APPLE
SOURCES
tst_qwidget_mac_helpers.mm
PUBLIC_LIBRARIES
${FWAppKit}
${FWSecurity}
)
extend_target(tst_qwidget CONDITION WIN32 AND NOT WINRT
PUBLIC_LIBRARIES
gdi32
user32
)