From 7fe16ade5dc6229fea86e60dd02613636e68343e Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 24 May 2018 11:53:17 +0100 Subject: Emit a summary of the configuration Makes it easier to see what was enabled, what's going to be built, and where it's going to be installed. --- meson.build | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/meson.build b/meson.build index 626e8978c..3b53ad189 100644 --- a/meson.build +++ b/meson.build @@ -402,3 +402,24 @@ if not meson.is_cross_build() gdk_pixbuf_binary_version, ) endif + +summary = [ + '', + 'GDK-Pixbuf @0@'.format(meson.project_version()), + '==================', + ' prefix: @0@'.format(gdk_pixbuf_prefix), + ' libdir: @0@'.format(gdk_pixbuf_libdir), + ' datadir: @0@'.format(gdk_pixbuf_datadir), + ' libexecdir: @0@'.format(gdk_pixbuf_libexecdir), + '', + ' enabled loaders: @0@'.format(' '.join(enabled_loaders)), + '', + ' documentation: @0@'.format(get_option('docs')), + ' man pages: @0@'.format(get_option('man')), + ' introspection: @0@'.format(get_option('gir')), + ' x11: @0@'.format(get_option('x11')), + ' installed tests: @0@'.format(get_option('installed_tests')), + ' relocatable: @0@'.format(get_option('relocatable')), + '', +] +message('\n'.join(summary)) -- cgit v1.2.1