From 08526d4da0a550254925d14c1cd70d2e3bf6fe88 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 18 Aug 2017 16:56:09 +0100 Subject: [PATCH] build: Print out a configuration summary Add some easy to check summary of the configuration step, especially for optional features that can use automatic discovery. --- meson.build | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/meson.build b/meson.build index 8fd666512d..7aa4d21e8d 100644 --- a/meson.build +++ b/meson.build @@ -599,6 +599,20 @@ if get_option('enable-documentation') subdir('docs/reference') endif +summary = [ + '', + '------', + 'GTK+ @0@ (@1@)'.format(gtk_version, gtk_api_version), + '', + ' Enabled backends: @0@'.format(pkg_targets.strip()), + ' Documentation: @0@'.format(get_option('enable-documentation')), + ' Vulkan support: @0@'.format(have_vulkan), + '------', + '' +] + +message('\n'.join(summary)) + # Keep this in sync with post-install.sh expected arguments meson.add_install_script('build-aux/meson/post-install.sh', gtk_api_version,