[gnome-bluetooth/wip/hadess/gtk4-fixes: 3/4] build: Use summary() to print build summary
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/wip/hadess/gtk4-fixes: 3/4] build: Use summary() to print build summary
- Date: Thu, 28 Oct 2021 15:44:03 +0000 (UTC)
commit e8d9d6b8272d833a96613435d5731e22e92e8a4d
Author: Bastien Nocera <hadess hadess net>
Date: Thu Oct 28 17:38:37 2021 +0200
build: Use summary() to print build summary
meson.build | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/meson.build b/meson.build
index 4eb03e5d..01eec980 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@ project(
version: '42.alpha',
license: 'GPL2+',
default_options: 'buildtype=debugoptimized',
- meson_version: '>= 0.49.0',
+ meson_version: '>= 0.53.0',
)
gnomebt_version = meson.project_version()
@@ -132,13 +132,10 @@ meson.add_install_script(
gnomebt_datadir,
)
-output = '\nConfigure summary:\n\n'
-output += ' Compiler....................: ' + cc.get_id() + '\n\n'
-output += ' Compiler Flags..............: ' + ' '.join(compiler_flags) + '\n'
-output += ' Prefix......................: ' + gnomebt_prefix + '\n'
-output += ' Documentation...............: ' + enable_gtk_doc.to_string() + '\n'
-output += ' GObject-Introspection.......: ' + enable_gir.to_string()
-message(output)
+summary({'Documentation': enable_gtk_doc,
+ 'Introspection': enable_gir,
+ 'Run gtk-update-icon-cache': get_option('icon_update')},
+ section: 'General')
meson.add_dist_script(
find_program('check-news.sh').path(),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]