qt5base-lts/tests/auto/widgets/kernel/qwidget/CMakeLists.txt
Alexandru Croitor 0d177053b9 Regenerate projects one last time before merge
Change-Id: Ia24cf56b79ca6dacd370a7e397024e9b663e0167
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2020-02-12 17:30:49 +00:00

58 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"
)
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
)