diff options
Diffstat (limited to 'tests/auto/corelib/io/qfile')
-rw-r--r-- | tests/auto/corelib/io/qfile/CMakeLists.txt | 56 | ||||
-rw-r--r-- | tests/auto/corelib/io/qfile/stdinprocess/CMakeLists.txt | 14 |
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" |