0d177053b9
Change-Id: Ia24cf56b79ca6dacd370a7e397024e9b663e0167 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
40 lines
890 B
CMake
40 lines
890 B
CMake
# Generated from qlayout.pro.
|
|
|
|
#####################################################################
|
|
## tst_qlayout Test:
|
|
#####################################################################
|
|
|
|
# Collect test data
|
|
file(GLOB_RECURSE test_data_glob
|
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
baseline/*)
|
|
list(APPEND test_data ${test_data_glob})
|
|
|
|
add_qt_test(tst_qlayout
|
|
SOURCES
|
|
tst_qlayout.cpp
|
|
PUBLIC_LIBRARIES
|
|
Qt::Gui
|
|
Qt::TestPrivate
|
|
Qt::Widgets
|
|
Qt::WidgetsPrivate
|
|
TESTDATA ${test_data}
|
|
)
|
|
|
|
## Scopes:
|
|
#####################################################################
|
|
|
|
if(ANDROID AND NOT ANDROID_EMBEDDED)
|
|
# Resources:
|
|
set(testdata_resource_files
|
|
"baseline/smartmaxsize"
|
|
)
|
|
|
|
add_qt_resource(tst_qlayout "testdata"
|
|
PREFIX
|
|
"/"
|
|
FILES
|
|
${testdata_resource_files}
|
|
)
|
|
endif()
|