mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-16 16:33:55 +02:00
Generate a header containing git version info
It contains the last annotated tag, and possibly also the number of commits since then and the hash of the last commit.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# Generate a file containing the last annotated git tag and possibly also the
|
||||
# amount of commits since then and the hash of the last commit
|
||||
vcs_tag(
|
||||
command : ['git', 'describe', '--always'],
|
||||
input : 'version.h.in',
|
||||
output : 'version.h',
|
||||
replace_string : '@VCS_VERSION@'
|
||||
)
|
||||
Reference in New Issue
Block a user