[json-glib/gidocgen: 4/7] build: Add a setup summary




commit cbb3516f7e4166a8ac18d55b7697e96352ce5398
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Jun 8 16:19:27 2021 +0100

    build: Add a setup summary

 meson.build | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
---
diff --git a/meson.build b/meson.build
index 7bc3497..8604369 100644
--- a/meson.build
+++ b/meson.build
@@ -157,3 +157,22 @@ gen_installed_test = files('build-aux/gen-installed-test.py')
 subdir('json-glib')
 subdir('po')
 subdir('doc')
+
+summary({
+    'prefix': get_option('prefix'),
+    'includedir': json_includedir,
+    'libdir': get_option('prefix') / get_option('libdir'),
+    'datadir': json_datadir,
+  },
+  section: 'Directories',
+)
+
+summary({
+    'Introspection': get_option('introspection').enabled() or get_option('introspection').auto(),
+    'Documentation': get_option('gtk_doc').enabled() or get_option('gtk_doc').auto(),
+    'Manual pages': get_option('man'),
+    'Tests': get_option('tests'),
+  },
+  section: 'Build',
+  bool_yn: true,
+)


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