summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-05-24 11:53:17 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2018-05-24 11:54:23 +0100
commit7fe16ade5dc6229fea86e60dd02613636e68343e (patch)
treeab43c89f2f9d0e88d3417d04681f556128a463f3
parent11a1961b57d203a1f9328e96db9c7e0099c0fd77 (diff)
downloadgdk-pixbuf-7fe16ade5dc6229fea86e60dd02613636e68343e.tar.gz
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.
-rw-r--r--meson.build21
1 files changed, 21 insertions, 0 deletions
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))