aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt')
-rw-r--r--tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt60
1 files changed, 60 insertions, 0 deletions
diff --git a/tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt b/tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..d4d6441187
--- /dev/null
+++ b/tests/auto/qml/qquickfolderlistmodel/.prev_CMakeLists.txt
@@ -0,0 +1,60 @@
+# Generated from qquickfolderlistmodel.pro.
+
+#####################################################################
+## tst_qquickfolderlistmodel Test:
+#####################################################################
+
+# Collect test data
+
+file(GLOB test_data_glob
+ LIST_DIRECTORIES true
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ "data/*")
+list(APPEND test_data ${test_data_glob})
+
+add_qt_test(tst_qquickfolderlistmodel
+ GUI
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_qquickfolderlistmodel.cpp
+ INCLUDE_DIRECTORIES
+ ../../shared
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::QmlPrivate
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Qml
+ TESTDATA ${test_data}
+)
+
+# Resources:
+add_qt_resource(tst_qquickfolderlistmodel "introspect"
+ PREFIX
+ "/myprefix/subdir"
+ BASE
+ "data"
+ FILES
+ txtdir/hello.txt
+)
+
+
+#### Keys ignored in scope 1:.:.:qquickfolderlistmodel.pro:<TRUE>:
+# CONFIG = "testcase"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:qquickfolderlistmodel.pro:APPLE_OSX:
+# CONFIG = "-app_bundle"
+
+extend_target(tst_qquickfolderlistmodel CONDITION ANDROID OR APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\":/data\\\"
+)
+
+extend_target(tst_qquickfolderlistmodel CONDITION NOT ANDROID AND NOT APPLE_IOS
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+)