[mutter] meson: Add 'Build Configuration' section



commit a0a612f18f688e5e7035ef005004d32790271581
Author: Robert Mader <robert mader posteo de>
Date:   Wed Oct 6 20:34:03 2021 +0200

    meson: Add 'Build Configuration' section
    
    Easily seeing the buildtype and debug status can be quite useful.
    Gnome-Shell already has it.
    
    And while on it, add a 'Directories' section for already existing
    entries.
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2044>

 meson.build | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 8aad0a1315..796f8ad41c 100644
--- a/meson.build
+++ b/meson.build
@@ -540,9 +540,12 @@ subdir('doc/man')
 meson.add_install_script('meson/meson-postinstall.sh')
 meson.add_dist_script('meson/check-version.py', meson.project_version(), 'NEWS')
 
-summary('prefix', prefix)
-summary('libexecdir', libexecdir)
-summary('pkgdatadir', pkgdatadir)
+summary('prefix', prefix, section: 'Directories')
+summary('libexecdir', libexecdir, section: 'Directories')
+summary('pkgdatadir', pkgdatadir, section: 'Directories')
+
+summary('buildtype', get_option('buildtype'), section: 'Build Configuration')
+summary('debug', get_option('debug'), section: 'Build Configuration')
 
 summary('OpenGL', have_gl, section: 'Rendering APIs')
 summary('GLES2', have_gles2, section: 'Rendering APIs')


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