diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-23 11:34:07 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-07 21:54:30 +0200 |
commit | ed65d1ab49e6f5537b086178f9f9d14fc190b663 (patch) | |
tree | dca778ac347fb25b11bd665e0818f8454c7be0b1 /tests/benchmarks | |
parent | 81e8cd67198768a08f5c65ec026e1553f78e1375 (diff) |
CMake: Regenerate projects to use new qt_internal_ API
Modify special case locations to use the new API as well.
Task-number: QTBUG-86815
Change-Id: I4a690095fcd4b1141550de86b6820ae2dd579429
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'tests/benchmarks')
-rw-r--r-- | tests/benchmarks/creationtime/CMakeLists.txt | 6 | ||||
-rw-r--r-- | tests/benchmarks/objectcount/CMakeLists.txt | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/benchmarks/creationtime/CMakeLists.txt b/tests/benchmarks/creationtime/CMakeLists.txt index 7979a42f..f3c5ad07 100644 --- a/tests/benchmarks/creationtime/CMakeLists.txt +++ b/tests/benchmarks/creationtime/CMakeLists.txt @@ -4,7 +4,7 @@ ## tst_creationtime Test: ##################################################################### -qt_add_test(tst_creationtime +qt_internal_add_test(tst_creationtime SOURCES ../../auto/shared/qtest_quickcontrols.h ../../auto/shared/util.cpp ../../auto/shared/util.h @@ -31,12 +31,12 @@ qt_add_test(tst_creationtime ## Scopes: ##################################################################### -qt_extend_target(tst_creationtime CONDITION ANDROID OR IOS +qt_internal_extend_target(tst_creationtime CONDITION ANDROID OR IOS DEFINES QT_QMLTEST_DATADIR=\\\":/data\\\" ) -qt_extend_target(tst_creationtime CONDITION NOT ANDROID AND NOT IOS +qt_internal_extend_target(tst_creationtime CONDITION NOT ANDROID AND NOT IOS DEFINES QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" ) diff --git a/tests/benchmarks/objectcount/CMakeLists.txt b/tests/benchmarks/objectcount/CMakeLists.txt index 909fa988..932e18c6 100644 --- a/tests/benchmarks/objectcount/CMakeLists.txt +++ b/tests/benchmarks/objectcount/CMakeLists.txt @@ -4,7 +4,7 @@ ## tst_objectcount Test: ##################################################################### -qt_add_test(tst_objectcount +qt_internal_add_test(tst_objectcount SOURCES ../../auto/shared/qtest_quickcontrols.h ../../auto/shared/util.cpp ../../auto/shared/util.h @@ -31,12 +31,12 @@ qt_add_test(tst_objectcount ## Scopes: ##################################################################### -qt_extend_target(tst_objectcount CONDITION ANDROID OR IOS +qt_internal_extend_target(tst_objectcount CONDITION ANDROID OR IOS DEFINES QT_QMLTEST_DATADIR=\\\":/data\\\" ) -qt_extend_target(tst_objectcount CONDITION NOT ANDROID AND NOT IOS +qt_internal_extend_target(tst_objectcount CONDITION NOT ANDROID AND NOT IOS DEFINES QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" ) |