From d7230fee0df687267fb6c29b5bb8b577de21ce4c Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Mon, 20 Sep 2021 01:43:25 +0200 Subject: Add a basic benchmarking tool --- meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index deb6b46..c38458d 100644 --- a/meson.build +++ b/meson.build @@ -22,6 +22,14 @@ executable('fastiv', 'fastiv.c', 'fastiv-view.c', 'fastiv-io.c', install : true, dependencies : [dependencies]) +# TODO(p): See fastiv_io_open(), consider optionally integrating this. +gdk_pixbuf = dependency('gdk-pixbuf-2.0', required : false) +if gdk_pixbuf.found() + executable('io-benchmark', 'fastiv-io-benchmark.c', 'fastiv-io.c', + build_by_default : false, + dependencies : [dependencies, gdk_pixbuf]) +endif + install_data('fastiv.desktop', install_dir : get_option('datadir') + '/applications') install_data('fastiv.svg', -- cgit v1.2.3-70-g09d2