[gdk-pixbuf] Emit a summary of the configuration



commit 7fe16ade5dc6229fea86e60dd02613636e68343e
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu May 24 11:53:17 2018 +0100

    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))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]