From c3004a7acd7ae9d705051b85d383aacfdcbbf284 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Fri, 12 Jul 2024 14:24:10 +0200 Subject: [PATCH] build: show git version used during configuration Show which git version is used when configuration phase. Signed-off-by: Daniel Wagner --- meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index f589423a..7591a150 100644 --- a/meson.build +++ b/meson.build @@ -46,7 +46,7 @@ conf = configuration_data() version_tag = get_option('version-tag') if version_tag != '' - conf.set('GIT_VERSION', '"@0@"'.format(version_tag)) + conf.set('GIT_VERSION', '"@0@"'.format(version_tag)) else r = run_command('scripts/meson-vcs-tag.sh', meson.current_source_dir(), @@ -306,4 +306,8 @@ if meson.version().version_compare('>=0.53.0') 'Python 3': py3_dep.found(), } summary(dep_dict, section: 'Dependencies') + conf_dict = { + 'git version': conf.get('GIT_VERSION'), + } + summary(conf_dict, section: 'Configuration') endif