summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qfile
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@qt.io>2019-07-04 16:38:00 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-08-12 12:17:02 +0000
commitd87cd5cb2eb7330e7f2913c26c6e6f4c4bb77864 (patch)
treebb1991032c088a5ded3e0a19f97149de2decea14 /tests/auto/corelib/io/qfile
parente614e837fafc927d64ef4d9b5866cbccd0b44281 (diff)
Regenerate CMakeLists for tests/corelib/io
Only qdir, qlockfile, qprocess and qresourceengine were manually disabled, otherwise all other builds fine on linux. Change-Id: I09fd0ffffb778057d6bf9c25cad1fcd73fb7e530 Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/corelib/io/qfile')
-rw-r--r--tests/auto/corelib/io/qfile/CMakeLists.txt56
-rw-r--r--tests/auto/corelib/io/qfile/stdinprocess/CMakeLists.txt14
2 files changed, 70 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/qfile/CMakeLists.txt b/tests/auto/corelib/io/qfile/CMakeLists.txt
new file mode 100644
index 0000000000..dcc9c85f5d
--- /dev/null
+++ b/tests/auto/corelib/io/qfile/CMakeLists.txt
@@ -0,0 +1,56 @@
+# Generated from qfile.pro.
+
+#####################################################################
+## tst_qfile Test:
+#####################################################################
+
+add_qt_test(tst_qfile
+ SOURCES
+ ../../../../shared/emulationdetector.h
+ tst_qfile.cpp
+ INCLUDE_DIRECTORIES
+ ../../../../shared
+ LIBRARIES
+ Qt::CorePrivate
+)
+
+# Resources:
+add_qt_resource(tst_qfile "qfile" PREFIX "/tst_qfileinfo/" FILES
+ resources/)
+add_qt_resource(tst_qfile "rename-fallback" FILES
+ rename-fallback.qrc)
+add_qt_resource(tst_qfile "copy-fallback" FILES
+ copy-fallback.qrc)
+
+
+#### Keys ignored in scope 3:.:.:test.pro:<TRUE>:
+# CONFIG = "testcase"
+# TESTDATA = "BLACKLIST" "dosfile.txt" "noendofline.txt" "testfile.txt" "testlog.txt" "two.dots.file" "tst_qfile.cpp" "Makefile" "forCopying.txt" "forRenaming.txt" "resources/file1.ext1"
+
+## Scopes:
+#####################################################################
+
+extend_target(tst_qfile CONDITION TARGET Qt::Network
+ PUBLIC_LIBRARIES
+ Qt::Network
+)
+
+extend_target(tst_qfile CONDITION NOT (TARGET Qt::Network)
+ DEFINES
+ QT_NO_NETWORK
+)
+
+extend_target(tst_qfile CONDITION CONFIG___contains___builtin_testdata
+ DEFINES
+ BUILTIN_TESTDATA
+)
+
+extend_target(tst_qfile CONDITION WIN32 AND NOT WINRT
+ PUBLIC_LIBRARIES
+ ole32
+ uuid
+)
+
+if(NOT WINRT)
+ add_subdirectory(stdinprocess)
+endif()
diff --git a/tests/auto/corelib/io/qfile/stdinprocess/CMakeLists.txt b/tests/auto/corelib/io/qfile/stdinprocess/CMakeLists.txt
new file mode 100644
index 0000000000..508e16ecc4
--- /dev/null
+++ b/tests/auto/corelib/io/qfile/stdinprocess/CMakeLists.txt
@@ -0,0 +1,14 @@
+# Generated from stdinprocess.pro.
+
+#####################################################################
+## stdinprocess Binary:
+#####################################################################
+
+add_qt_executable(stdinprocess
+ GUI
+ SOURCES
+ main.cpp
+)
+
+#### Keys ignored in scope 1:.:.:stdinprocess.pro:<TRUE>:
+# _LOADED = "qt_test_helper"