summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib/io
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/corelib/io')
-rw-r--r--tests/benchmarks/corelib/io/qdir/10000/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/io/qdir/tree/CMakeLists.txt4
-rw-r--r--tests/benchmarks/corelib/io/qdiriterator/CMakeLists.txt4
-rw-r--r--tests/benchmarks/corelib/io/qfile/CMakeLists.txt4
-rw-r--r--tests/benchmarks/corelib/io/qfileinfo/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/io/qiodevice/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/io/qprocess/test/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/io/qprocess/testProcessLoopback/.prev_CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/io/qprocess/testProcessLoopback/CMakeLists.txt3
-rw-r--r--tests/benchmarks/corelib/io/qtemporaryfile/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/io/qtextstream/CMakeLists.txt2
-rw-r--r--tests/benchmarks/corelib/io/qurl/CMakeLists.txt4
12 files changed, 16 insertions, 17 deletions
diff --git a/tests/benchmarks/corelib/io/qdir/10000/CMakeLists.txt b/tests/benchmarks/corelib/io/qdir/10000/CMakeLists.txt
index 51f603b595..255befd99a 100644
--- a/tests/benchmarks/corelib/io/qdir/10000/CMakeLists.txt
+++ b/tests/benchmarks/corelib/io/qdir/10000/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_bench_qdir_10000 Binary:
#####################################################################
-add_qt_benchmark(tst_bench_qdir_10000
+qt_add_benchmark(tst_bench_qdir_10000
SOURCES
bench_qdir_10000.cpp
PUBLIC_LIBRARIES
diff --git a/tests/benchmarks/corelib/io/qdir/tree/CMakeLists.txt b/tests/benchmarks/corelib/io/qdir/tree/CMakeLists.txt
index e3102a3389..1ea925928d 100644
--- a/tests/benchmarks/corelib/io/qdir/tree/CMakeLists.txt
+++ b/tests/benchmarks/corelib/io/qdir/tree/CMakeLists.txt
@@ -4,7 +4,7 @@
## bench_qdir_tree Binary:
#####################################################################
-add_qt_benchmark(bench_qdir_tree
+qt_add_benchmark(bench_qdir_tree
SOURCES
bench_qdir_tree.cpp
PUBLIC_LIBRARIES
@@ -16,7 +16,7 @@ set(bench_qdir_tree_resource_files
"4.6.0-list.txt"
)
-add_qt_resource(bench_qdir_tree "bench_qdir_tree"
+qt_add_resource(bench_qdir_tree "bench_qdir_tree"
PREFIX
"/"
FILES
diff --git a/tests/benchmarks/corelib/io/qdiriterator/CMakeLists.txt b/tests/benchmarks/corelib/io/qdiriterator/CMakeLists.txt
index b1e86861b6..b534df5796 100644
--- a/tests/benchmarks/corelib/io/qdiriterator/CMakeLists.txt
+++ b/tests/benchmarks/corelib/io/qdiriterator/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_bench_qdiriterator Binary:
#####################################################################
-add_qt_benchmark(tst_bench_qdiriterator
+qt_add_benchmark(tst_bench_qdiriterator
SOURCES
main.cpp
qfilesystemiterator.cpp qfilesystemiterator.h
@@ -15,7 +15,7 @@ add_qt_benchmark(tst_bench_qdiriterator
## Scopes:
#####################################################################
-extend_target(tst_bench_qdiriterator CONDITION (QT_FEATURE_cxx17_filesystem) AND (GCC AND (QMAKE_GCC_MAJOR_VERSION LESS 9))
+qt_extend_target(tst_bench_qdiriterator CONDITION (QT_FEATURE_cxx17_filesystem) AND (GCC AND (QMAKE_GCC_MAJOR_VERSION LESS 9))
LINK_OPTIONS
"-lstdc++fs"
)
diff --git a/tests/benchmarks/corelib/io/qfile/CMakeLists.txt b/tests/benchmarks/corelib/io/qfile/CMakeLists.txt
index 7d1e19d75a..df33c1169f 100644
--- a/tests/benchmarks/corelib/io/qfile/CMakeLists.txt
+++ b/tests/benchmarks/corelib/io/qfile/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_bench_qfile Binary:
#####################################################################
-add_qt_benchmark(tst_bench_qfile
+qt_add_benchmark(tst_bench_qfile
SOURCES
main.cpp
PUBLIC_LIBRARIES
@@ -18,7 +18,7 @@ add_qt_benchmark(tst_bench_qfile
## Scopes:
#####################################################################
-extend_target(tst_bench_qfile CONDITION WIN32
+qt_extend_target(tst_bench_qfile CONDITION WIN32
DEFINES
_CRT_SECURE_NO_WARNINGS
)
diff --git a/tests/benchmarks/corelib/io/qfileinfo/CMakeLists.txt b/tests/benchmarks/corelib/io/qfileinfo/CMakeLists.txt
index 195419f52e..691c3fb51d 100644
--- a/tests/benchmarks/corelib/io/qfileinfo/CMakeLists.txt
+++ b/tests/benchmarks/corelib/io/qfileinfo/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_bench_qfileinfo Binary:
#####################################################################
-add_qt_benchmark(tst_bench_qfileinfo
+qt_add_benchmark(tst_bench_qfileinfo
SOURCES
main.cpp
PUBLIC_LIBRARIES
diff --git a/tests/benchmarks/corelib/io/qiodevice/CMakeLists.txt b/tests/benchmarks/corelib/io/qiodevice/CMakeLists.txt
index 7663bdb99d..21052a584c 100644
--- a/tests/benchmarks/corelib/io/qiodevice/CMakeLists.txt
+++ b/tests/benchmarks/corelib/io/qiodevice/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_bench_qiodevice Binary:
#####################################################################
-add_qt_benchmark(tst_bench_qiodevice
+qt_add_benchmark(tst_bench_qiodevice
SOURCES
main.cpp
PUBLIC_LIBRARIES
diff --git a/tests/benchmarks/corelib/io/qprocess/test/CMakeLists.txt b/tests/benchmarks/corelib/io/qprocess/test/CMakeLists.txt
index 00bbe74c2d..93cca1827f 100644
--- a/tests/benchmarks/corelib/io/qprocess/test/CMakeLists.txt
+++ b/tests/benchmarks/corelib/io/qprocess/test/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_bench_qprocess Binary:
#####################################################################
-add_qt_benchmark(tst_bench_qprocess
+qt_add_benchmark(tst_bench_qprocess
SOURCES
../tst_bench_qprocess.cpp
PUBLIC_LIBRARIES
diff --git a/tests/benchmarks/corelib/io/qprocess/testProcessLoopback/.prev_CMakeLists.txt b/tests/benchmarks/corelib/io/qprocess/testProcessLoopback/.prev_CMakeLists.txt
index 59806127fe..6c67fdbbed 100644
--- a/tests/benchmarks/corelib/io/qprocess/testProcessLoopback/.prev_CMakeLists.txt
+++ b/tests/benchmarks/corelib/io/qprocess/testProcessLoopback/.prev_CMakeLists.txt
@@ -4,7 +4,7 @@
## testProcessLoopback Binary:
#####################################################################
-add_qt_executable(testProcessLoopback
+add_qt_benchmark(testProcessLoopback
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/benchmarks/corelib/io/qprocess/testProcessLoopback/CMakeLists.txt b/tests/benchmarks/corelib/io/qprocess/testProcessLoopback/CMakeLists.txt
index b5a7fe83f5..0d0115f785 100644
--- a/tests/benchmarks/corelib/io/qprocess/testProcessLoopback/CMakeLists.txt
+++ b/tests/benchmarks/corelib/io/qprocess/testProcessLoopback/CMakeLists.txt
@@ -4,8 +4,7 @@
## testProcessLoopback Binary:
#####################################################################
-# add_qt_executable(testProcessLoopback # special case
-add_qt_benchmark(testProcessLoopback # special case
+qt_add_benchmark(testProcessLoopback
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
diff --git a/tests/benchmarks/corelib/io/qtemporaryfile/CMakeLists.txt b/tests/benchmarks/corelib/io/qtemporaryfile/CMakeLists.txt
index 82b885bb17..b9bc9164a7 100644
--- a/tests/benchmarks/corelib/io/qtemporaryfile/CMakeLists.txt
+++ b/tests/benchmarks/corelib/io/qtemporaryfile/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_bench_qtemporaryfile Binary:
#####################################################################
-add_qt_benchmark(tst_bench_qtemporaryfile
+qt_add_benchmark(tst_bench_qtemporaryfile
SOURCES
main.cpp
PUBLIC_LIBRARIES
diff --git a/tests/benchmarks/corelib/io/qtextstream/CMakeLists.txt b/tests/benchmarks/corelib/io/qtextstream/CMakeLists.txt
index 6dd11f1bbb..d84ba59f41 100644
--- a/tests/benchmarks/corelib/io/qtextstream/CMakeLists.txt
+++ b/tests/benchmarks/corelib/io/qtextstream/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_bench_qtextstream Binary:
#####################################################################
-add_qt_benchmark(tst_bench_qtextstream
+qt_add_benchmark(tst_bench_qtextstream
SOURCES
main.cpp
PUBLIC_LIBRARIES
diff --git a/tests/benchmarks/corelib/io/qurl/CMakeLists.txt b/tests/benchmarks/corelib/io/qurl/CMakeLists.txt
index 26d98b7eb4..77ede07536 100644
--- a/tests/benchmarks/corelib/io/qurl/CMakeLists.txt
+++ b/tests/benchmarks/corelib/io/qurl/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_qurl Binary:
#####################################################################
-add_qt_benchmark(tst_qurl
+qt_add_benchmark(tst_qurl
SOURCES
main.cpp
PUBLIC_LIBRARIES
@@ -17,7 +17,7 @@ add_qt_benchmark(tst_qurl
## Scopes:
#####################################################################
-extend_target(tst_qurl CONDITION WIN32
+qt_extend_target(tst_qurl CONDITION WIN32
DEFINES
_CRT_SECURE_NO_WARNINGS
)