diff options
-rw-r--r-- | meson.build | 11 | ||||
-rw-r--r-- | tools/benchmark-io.c (renamed from fiv-io-benchmark.c) | 2 |
2 files changed, 6 insertions, 7 deletions
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'] diff --git a/fiv-io-benchmark.c b/tools/benchmark-io.c index 00406cd..be8fb8f 100644 --- a/fiv-io-benchmark.c +++ b/tools/benchmark-io.c @@ -1,5 +1,5 @@ // -// fiv-io-benchmark.c: see if we suck +// benchmark-io.c: measure and compare image loading times // // Copyright (c) 2021 - 2022, Přemysl Eric Janouch <p@janouch.name> // |