summaryrefslogtreecommitdiff
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-05-17 19:13:24 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-05-28 12:50:42 +0000
commit9443239c2c01810189d63854393d43c493201c66 (patch)
tree017d1c7f31f12dfd420c064f3032b408e17a342c /tests/benchmarks
parent9a4a2dd5189e1659bce46eacef513b0c5680bb1e (diff)
downloadqtimageformats-9443239c2c01810189d63854393d43c493201c66.tar.gz
Initial CMake Port
Port 90% of imageformats to be built with CMake. Missing support for mng plugin and documentation. Change-Id: I1d7e4b93c6f8446468f00dbf0663a6a4ec8c9774 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/benchmarks')
-rw-r--r--tests/benchmarks/CMakeLists.txt7
-rw-r--r--tests/benchmarks/mng/CMakeLists.txt26
-rw-r--r--tests/benchmarks/tiff/CMakeLists.txt73
3 files changed, 106 insertions, 0 deletions
diff --git a/tests/benchmarks/CMakeLists.txt b/tests/benchmarks/CMakeLists.txt
new file mode 100644
index 0000000..16d5c86
--- /dev/null
+++ b/tests/benchmarks/CMakeLists.txt
@@ -0,0 +1,7 @@
+# Generated from benchmarks.pro.
+
+
+if(ON)
+ add_subdirectory(mng)
+ add_subdirectory(tiff)
+endif()
diff --git a/tests/benchmarks/mng/CMakeLists.txt b/tests/benchmarks/mng/CMakeLists.txt
new file mode 100644
index 0000000..ff56666
--- /dev/null
+++ b/tests/benchmarks/mng/CMakeLists.txt
@@ -0,0 +1,26 @@
+# Generated from mng.pro.
+
+#####################################################################
+## tst_bench_qmng Binary:
+#####################################################################
+
+add_qt_executable(tst_bench_qmng
+ GUI
+ SOURCES
+ tst_qmng.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Test
+)
+
+# Resources:
+add_qt_resource(tst_bench_qmng "mng" PREFIX "/" BASE "../../shared/images" FILES
+ mng/animation.mng
+ mng/ball.mng
+ mng/corrupt.mng
+ mng/dutch.mng
+ mng/fire.mng)
+
+
+#### Keys ignored in scope 1:.:.:mng.pro:<TRUE>:
+# CONFIG = "-app_bundle"
diff --git a/tests/benchmarks/tiff/CMakeLists.txt b/tests/benchmarks/tiff/CMakeLists.txt
new file mode 100644
index 0000000..6ca9d8a
--- /dev/null
+++ b/tests/benchmarks/tiff/CMakeLists.txt
@@ -0,0 +1,73 @@
+# Generated from tiff.pro.
+
+#####################################################################
+## tst_bench_qtiff Binary:
+#####################################################################
+
+add_qt_executable(tst_bench_qtiff
+ GUI
+ SOURCES
+ tst_qtiff.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Test
+)
+
+# Resources:
+add_qt_resource(tst_bench_qtiff "tiff" PREFIX "/" BASE "../../shared/images" FILES
+ tiff/16bpc.tiff
+ tiff/colorful.bmp
+ tiff/corrupt-data.tif
+ tiff/gray16.tiff
+ tiff/grayscale-ref.tif
+ tiff/grayscale.tif
+ tiff/image.tif
+ tiff/image_100dpi.tif
+ tiff/indexed_orientation_1.tiff
+ tiff/indexed_orientation_2.tiff
+ tiff/indexed_orientation_3.tiff
+ tiff/indexed_orientation_4.tiff
+ tiff/indexed_orientation_5.tiff
+ tiff/indexed_orientation_6.tiff
+ tiff/indexed_orientation_7.tiff
+ tiff/indexed_orientation_8.tiff
+ tiff/mono_orientation_1.tiff
+ tiff/mono_orientation_2.tiff
+ tiff/mono_orientation_3.tiff
+ tiff/mono_orientation_4.tiff
+ tiff/mono_orientation_5.tiff
+ tiff/mono_orientation_6.tiff
+ tiff/mono_orientation_7.tiff
+ tiff/mono_orientation_8.tiff
+ tiff/multipage.tiff
+ tiff/oddsize_grayscale.tiff
+ tiff/oddsize_mono.tiff
+ tiff/original_grayscale.tiff
+ tiff/original_indexed.tiff
+ tiff/original_mono.tiff
+ tiff/original_rgb.tiff
+ tiff/rgb_orientation_1.tiff
+ tiff/rgb_orientation_2.tiff
+ tiff/rgb_orientation_3.tiff
+ tiff/rgb_orientation_4.tiff
+ tiff/rgb_orientation_5.tiff
+ tiff/rgb_orientation_6.tiff
+ tiff/rgb_orientation_7.tiff
+ tiff/rgb_orientation_8.tiff
+ tiff/rgba_adobedeflate_littleendian.tif
+ tiff/rgba_lzw_littleendian.tif
+ tiff/rgba_nocompression_bigendian.tif
+ tiff/rgba_nocompression_littleendian.tif
+ tiff/rgba_packbits_littleendian.tif
+ tiff/rgba_zipdeflate_littleendian.tif
+ tiff/teapot.tiff
+ tiff/tiled_grayscale.tiff
+ tiff/tiled_indexed.tiff
+ tiff/tiled_mono.tiff
+ tiff/tiled_oddsize_grayscale.tiff
+ tiff/tiled_oddsize_mono.tiff
+ tiff/tiled_rgb.tiff)
+
+
+#### Keys ignored in scope 1:.:.:tiff.pro:<TRUE>:
+# CONFIG = "-app_bundle"