summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-10 00:29:18 +0100
committerDavid Robillard <d@drobilla.net>2021-01-10 00:29:18 +0100
commit41a39932e4b1df18a388cc1cd98ee43b06b98b59 (patch)
tree9131b6630ed70a604e7c2da83de20c3c12972e55
parentb2679936d96638b2c877176d151cec09502aec16 (diff)
downloadzix-41a39932e4b1df18a388cc1cd98ee43b06b98b59.tar.gz
zix-41a39932e4b1df18a388cc1cd98ee43b06b98b59.tar.bz2
zix-41a39932e4b1df18a388cc1cd98ee43b06b98b59.zip
Add configuration summary
-rw-r--r--meson.build13
1 files changed, 12 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 0ab9a01..25ff399 100644
--- a/meson.build
+++ b/meson.build
@@ -279,7 +279,9 @@ if not get_option('benchmarks').disabled()
version: '>= 2.0.0',
required: get_option('benchmarks'))
- if glib_dep.found()
+ build_benchmarks = glib_dep.found()
+
+ if build_benchmarks
foreach benchmark : benchmarks
benchmark(benchmark,
executable(benchmark,
@@ -291,3 +293,12 @@ if not get_option('benchmarks').disabled()
warning('Not building benchmarks because glib was not found')
endif
endif
+
+if meson.version().version_compare('>=0.53.0')
+ summary('Benchmarks', build_benchmarks, bool_yn: true)
+ summary('Tests', get_option('tests'), bool_yn: true)
+
+ summary('Install prefix', get_option('prefix'))
+ summary('Headers', get_option('prefix') / get_option('includedir'))
+ summary('Libraries', get_option('prefix') / get_option('libdir'))
+endif