qt5base-lts/tests/auto/gui/kernel/qkeysequence/CMakeLists.txt
Alexey Edelev fdf5d11ff6 CMake: Add BUILTIN_TESTDATA option to qt_internal_add_test
Multiple tests use qt_internal_add_resource that copies the
functionality that is already implemented inside the
qt_internal_add_test function. Simplify these test by replacing
the qt_internal_add_resource call with the new BUILTIN_TESTDATA
option.

Change-Id: I18475b817d6f87264f0de53817d6c26c5ccab4e2
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-02-11 21:54:44 +01:00

23 lines
513 B
CMake

# Generated from qkeysequence.pro.
#####################################################################
## tst_qkeysequence Test:
#####################################################################
# Resources:
set(qkeysequence_resource_files
"keys_de.qm"
"qt_de.qm"
)
qt_internal_add_test(tst_qkeysequence
SOURCES
tst_qkeysequence.cpp
PUBLIC_LIBRARIES
Qt::CorePrivate
Qt::Gui
Qt::GuiPrivate
TESTDATA ${qkeysequence_resource_files}
BUILTIN_TESTDATA
)