[gnome-calendar] build: Use meson summary instead of hardocded string
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] build: Use meson summary instead of hardocded string
- Date: Wed, 16 Sep 2020 15:24:22 +0000 (UTC)
commit 28be1e858d9ae2d74dfda0a18951184b5b60071d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sat Sep 12 13:15:55 2020 -0300
build: Use meson summary instead of hardocded string
meson.build | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/meson.build b/meson.build
index c4646751..2a546252 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@ project(
'c',
version: '40.alpha',
license: 'GPL3+',
- meson_version: '>= 0.50.0'
+ meson_version: '>= 0.53.0'
)
@@ -201,13 +201,11 @@ configure_file(
configuration: config_h
)
-output = '\n\n GNOME Calendar ' + calendar_version + '\n'
-output += ' =========================\n\n'
-output += ' Source ..........................: ' + meson.source_root() + '\n'
-output += ' Prefix ..........................: ' + calendar_prefix + '\n'
-output += ' Compiler ........................: ' + cc.get_id() + '\n\n'
-output += ' Development options\n'
-output += ' Enable Debug: ...................: ' + calendar_debug.to_string() + '\n'
-output += ' Enable Tracing: .................: ' + enable_tracing.to_string() + '\n'
-output += ' Now type "ninja -C ' + meson.build_root() + '" to build ' + meson.project_name() + '\n\n'
-message(output)
+summary({
+ 'Source': meson.source_root(),
+ 'Prefix': calendar_prefix,
+})
+summary({
+ 'Debug': calendar_debug,
+ 'Tracing': enable_tracing,
+}, section: 'Development')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]