meson: add tools/meson.build
Previously, we looked for scripts in the tools/ directory ad hoc, wherever they were needed. Let's do those checks in one place. The main meson.build file is shrunk somewhat, which is always nice.
This commit is contained in:
@@ -7,7 +7,7 @@ version_h = custom_target('version',
|
||||
output : 'version.h',
|
||||
capture : true,
|
||||
command : [
|
||||
meson.project_source_root() / 'tools/vcs-tag.sh',
|
||||
vcs_tag_sh,
|
||||
'@INPUT@',
|
||||
get_option('mode'),
|
||||
vcs_tag ? '1' : '0',
|
||||
|
||||
Reference in New Issue
Block a user