1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-12 18:06:18 +00:00
mpv/common/meson.build

12 lines
299 B
Meson
Raw Normal View History

version_h = vcs_tag(
command: ['git',
'--git-dir=' + join_paths(source_root, '.git'),
'--work-tree=' + source_root,
'describe', '--always', '--tags', '--dirty'],
input: 'version.h.in',
output: 'version.h',
replace_string: '@VERSION@',
)
sources += version_h