[libmediaart/ebassi/build: 2/2] build: Use the built-in summary()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libmediaart/ebassi/build: 2/2] build: Use the built-in summary()
- Date: Thu, 20 May 2021 13:07:12 +0000 (UTC)
commit 7f33cf1913e90e3b8cc9c2546cb860f4c1d66d99
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon May 17 14:16:21 2021 +0100
build: Use the built-in summary()
Instead of hand-rolling our own.
Remove the bit about the C compiler: Meson prints out the compiler in
its default output. Similarly, remove the bit about the source
directory: Meson does that automatically.
meson.build | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/meson.build b/meson.build
index 39791c9..704cba0 100644
--- a/meson.build
+++ b/meson.build
@@ -123,12 +123,8 @@ pkgconfig.generate(
requires_private: image_library_name,
libraries_private: ['-lz', '-lm'])
-summary = [
- '\nBuild Configuration:',
- ' Prefix: ' + get_option('prefix'),
- ' Source code location: ' + meson.source_root(),
- ' Compiler: ' + cc.get_id(),
- ' Image processing library: ' + image_library_name,
-]
+summary('prefix', get_option('prefix'), section: 'Directories')
+summary('includedir', get_option('includedir'), section: 'Directories')
+summary('libdir', get_option('libdir'), section: 'Directories')
-message('\n'.join(summary))
+summary('Image processing library', image_library_name, section: 'Build')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]