Skip to content

Commit ccfb160

Browse files
dwsuseigaw
authored andcommitted
build: show git version used during configuration
Show which git version is used when configuration phase. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 95c123d commit ccfb160

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

meson.build

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ conf = configuration_data()
4646

4747
version_tag = get_option('version-tag')
4848
if version_tag != ''
49-
conf.set('GIT_VERSION', '"@0@"'.format(version_tag))
49+
conf.set('GIT_VERSION', '"@0@"'.format(version_tag))
5050
else
5151
r = run_command('scripts/meson-vcs-tag.sh',
5252
meson.current_source_dir(),
@@ -306,4 +306,8 @@ if meson.version().version_compare('>=0.53.0')
306306
'Python 3': py3_dep.found(),
307307
}
308308
summary(dep_dict, section: 'Dependencies')
309+
conf_dict = {
310+
'git version': conf.get('GIT_VERSION'),
311+
}
312+
summary(conf_dict, section: 'Configuration')
309313
endif

0 commit comments

Comments
 (0)