diff options
Diffstat (limited to 'tests/auto/qml/qjsengine/.prev_CMakeLists.txt')
-rw-r--r-- | tests/auto/qml/qjsengine/.prev_CMakeLists.txt | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/tests/auto/qml/qjsengine/.prev_CMakeLists.txt b/tests/auto/qml/qjsengine/.prev_CMakeLists.txt new file mode 100644 index 0000000000..aaff27ee03 --- /dev/null +++ b/tests/auto/qml/qjsengine/.prev_CMakeLists.txt @@ -0,0 +1,55 @@ +# Generated from qjsengine.pro. + +##################################################################### +## tst_qjsengine Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + script/*) +list(APPEND test_data ${test_data_glob}) + +qt_add_test(tst_qjsengine + SOURCES + tst_qjsengine.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::GuiPrivate + Qt::Qml + Qt::QmlPrivate + Qt::Widgets + TESTDATA ${test_data} +) + +# Resources: +set(qjsengine_resource_files + "translations/idtranslatable-unicode.qm" + "translations/idtranslatable_la.qm" + "translations/translatable-unicode.qm" + "translations/translatable_la.qm" +) + +qt_add_resource(tst_qjsengine "qjsengine" + PREFIX + "/" + FILES + ${qjsengine_resource_files} +) +set(qmake_immediate_resource_files + "exporterror1.mjs" + "importerror1.mjs" + "modulewithlexicals.mjs" + "testmodule.mjs" +) + +qt_add_resource(tst_qjsengine "qmake_immediate" + PREFIX + "/" + FILES + ${qmake_immediate_resource_files} +) + + +## Scopes: +##################################################################### |