From de377d3eaec2b07f16d841ac79a97a8282c7e983 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Tue, 6 Jun 2023 17:54:27 +0200 Subject: Move the image load benchmark under tools --- meson.build | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 32ee8e6..43631df 100644 --- a/meson.build +++ b/meson.build @@ -165,12 +165,6 @@ exe = executable('fiv', 'fiv.c', 'fiv-view.c', 'fiv-io.c', 'fiv-context-menu.c', dependencies : dependencies, win_subsystem : 'windows', ) -if gdkpixbuf.found() - executable('io-benchmark', 'fiv-io-benchmark.c', 'fiv-io.c', - 'xdg.c', tiff_tables, - build_by_default : false, - dependencies : [dependencies, gdkpixbuf]) -endif desktops += 'fiv-jpegcrop.desktop' jpegcrop = executable('fiv-jpegcrop', 'fiv-jpegcrop.c', rc, config, @@ -194,6 +188,11 @@ if get_option('tools').enabled() dependencies : tools_dependencies, c_args: tools_c_args) endforeach + + if gdkpixbuf.found() + executable('benchmark-io', 'tools/benchmark-io.c', 'fiv-io.c', 'xdg.c', + tiff_tables, dependencies : [dependencies, gdkpixbuf]) + endif endif gsettings_schemas = ['fiv.gschema.xml'] -- cgit v1.2.3