diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-07-07 18:34:17 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-07-09 09:38:39 +0200 |
commit | db397d11130639abae1b1438b0685db2c75db330 (patch) | |
tree | a97939cbefc3779e8a3e1ff339ad37f17806a8d7 /tests/auto/corelib/io | |
parent | e9a328bc0e56b429a370b13c8e0b4790916cebde (diff) |
CMake: Regenerate subdir test projects
And generate a few more test projects that were missing.
Change-Id: I5df51106549aa5ae09bc3c42360e14b143719547
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tests/auto/corelib/io')
-rw-r--r-- | tests/auto/corelib/io/qfile/.prev_CMakeLists.txt | 16 | ||||
-rw-r--r-- | tests/auto/corelib/io/qfile/CMakeLists.txt | 16 | ||||
-rw-r--r-- | tests/auto/corelib/io/qlockfile/CMakeLists.txt | 4 |
3 files changed, 18 insertions, 18 deletions
diff --git a/tests/auto/corelib/io/qfile/.prev_CMakeLists.txt b/tests/auto/corelib/io/qfile/.prev_CMakeLists.txt index 196a0c056f..8e72a89649 100644 --- a/tests/auto/corelib/io/qfile/.prev_CMakeLists.txt +++ b/tests/auto/corelib/io/qfile/.prev_CMakeLists.txt @@ -17,7 +17,7 @@ list(APPEND test_data "forCopying.txt") list(APPEND test_data "forRenaming.txt") list(APPEND test_data "resources/file1.ext1") -add_qt_test(tst_qfile +qt_add_test(tst_qfile SOURCES ../../../../shared/emulationdetector.h tst_qfile.cpp @@ -33,7 +33,7 @@ set(qfile_resource_files "resources/" ) -add_qt_resource(tst_qfile "qfile" +qt_add_resource(tst_qfile "qfile" PREFIX "/tst_qfileinfo/" FILES @@ -43,7 +43,7 @@ set(rename-fallback_resource_files "rename-fallback.qrc" ) -add_qt_resource(tst_qfile "rename-fallback" +qt_add_resource(tst_qfile "rename-fallback" PREFIX "/" FILES @@ -53,7 +53,7 @@ set(copy-fallback_resource_files "copy-fallback.qrc" ) -add_qt_resource(tst_qfile "copy-fallback" +qt_add_resource(tst_qfile "copy-fallback" PREFIX "/" FILES @@ -64,22 +64,22 @@ add_qt_resource(tst_qfile "copy-fallback" ## Scopes: ##################################################################### -extend_target(tst_qfile CONDITION TARGET Qt::Network +qt_extend_target(tst_qfile CONDITION TARGET Qt::Network PUBLIC_LIBRARIES Qt::Network ) -extend_target(tst_qfile CONDITION NOT TARGET Qt::Network +qt_extend_target(tst_qfile CONDITION NOT TARGET Qt::Network DEFINES QT_NO_NETWORK ) -extend_target(tst_qfile CONDITION CONFIG___contains___builtin_testdata +qt_extend_target(tst_qfile CONDITION CONFIG___contains___builtin_testdata DEFINES BUILTIN_TESTDATA ) -extend_target(tst_qfile CONDITION WIN32 +qt_extend_target(tst_qfile CONDITION WIN32 PUBLIC_LIBRARIES ole32 uuid diff --git a/tests/auto/corelib/io/qfile/CMakeLists.txt b/tests/auto/corelib/io/qfile/CMakeLists.txt index bfea2c7f49..916b291f54 100644 --- a/tests/auto/corelib/io/qfile/CMakeLists.txt +++ b/tests/auto/corelib/io/qfile/CMakeLists.txt @@ -17,7 +17,7 @@ list(APPEND test_data "forCopying.txt") list(APPEND test_data "forRenaming.txt") list(APPEND test_data "resources/file1.ext1") -add_qt_test(tst_qfile +qt_add_test(tst_qfile SOURCES ../../../../shared/emulationdetector.h tst_qfile.cpp @@ -33,7 +33,7 @@ set(qfile_resource_files "resources/" ) -add_qt_resource(tst_qfile "qfile" +qt_add_resource(tst_qfile "qfile" PREFIX "/tst_qfileinfo/" FILES @@ -43,7 +43,7 @@ set(rename-fallback_resource_files "rename-fallback.qrc" ) -add_qt_resource(tst_qfile "rename-fallback" +qt_add_resource(tst_qfile "rename-fallback" PREFIX "/" FILES @@ -53,7 +53,7 @@ set(copy-fallback_resource_files "copy-fallback.qrc" ) -add_qt_resource(tst_qfile "copy-fallback" +qt_add_resource(tst_qfile "copy-fallback" PREFIX "/" FILES @@ -64,22 +64,22 @@ add_qt_resource(tst_qfile "copy-fallback" ## Scopes: ##################################################################### -extend_target(tst_qfile CONDITION TARGET Qt::Network +qt_extend_target(tst_qfile CONDITION TARGET Qt::Network PUBLIC_LIBRARIES Qt::Network ) -extend_target(tst_qfile CONDITION NOT TARGET Qt::Network +qt_extend_target(tst_qfile CONDITION NOT TARGET Qt::Network DEFINES QT_NO_NETWORK ) -extend_target(tst_qfile CONDITION CONFIG___contains___builtin_testdata +qt_extend_target(tst_qfile CONDITION CONFIG___contains___builtin_testdata DEFINES BUILTIN_TESTDATA ) -extend_target(tst_qfile CONDITION WIN32 +qt_extend_target(tst_qfile CONDITION WIN32 PUBLIC_LIBRARIES ole32 uuid diff --git a/tests/auto/corelib/io/qlockfile/CMakeLists.txt b/tests/auto/corelib/io/qlockfile/CMakeLists.txt index d422ae9d24..baab320b8c 100644 --- a/tests/auto/corelib/io/qlockfile/CMakeLists.txt +++ b/tests/auto/corelib/io/qlockfile/CMakeLists.txt @@ -4,7 +4,7 @@ ## tst_qlockfile Test: ##################################################################### -add_qt_test(tst_qlockfile +qt_add_test(tst_qlockfile SOURCES tst_qlockfile.cpp PUBLIC_LIBRARIES @@ -15,7 +15,7 @@ add_qt_test(tst_qlockfile ## Scopes: ##################################################################### -extend_target(tst_qlockfile CONDITION WIN32 +qt_extend_target(tst_qlockfile CONDITION WIN32 PUBLIC_LIBRARIES advapi32 ) |