[build] Indicate the working tree status in the version string. (#679)

This adds '+' to the version string when the working copy is dirty.
See https://git-scm.com/docs/git-describe
This commit is contained in:
Jens Peters 2018-09-30 22:19:05 +02:00 committed by Philip Rebohle
parent da76d74a2d
commit a29f698305
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ glsl_generator = generator(glsl_compiler,
arguments : [ '-V', '--vn', '@BASENAME@', '@INPUT@', '-o', '@OUTPUT@' ])
dxvk_version = vcs_tag(
command: ['git', 'describe'],
command: ['git', 'describe', '--dirty=+'],
input: 'version.h.in',
output: 'version.h')