Add a basic benchmarking tool

This commit is contained in:
2021-09-20 01:43:25 +02:00
parent e4d1e50c4a
commit d7230fee0d
2 changed files with 73 additions and 0 deletions

View File

@@ -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',