mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
Make sure git-hash.h is generated prior to building
meson.build was previously written in such a way that Ninja did not actually have to generate git-hash.h before building the source files that needed it, although Ninja often did do it.
This commit is contained in:
parent
c8d9ebb6be
commit
3a397eefa0
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ endif
|
|||
|
||||
compilers = {'cpp': meson.get_compiler('cpp')}
|
||||
|
||||
global_sources = [vcs_tag(command: ['git', 'rev-parse', '--short=7', 'HEAD'], fallback: 'unknown', input: 'src/git-hash.h.in', output: 'git-hash.h')]
|
||||
global_dependencies = []
|
||||
global_sources = []
|
||||
global_dependencies = [declare_dependency(sources: vcs_tag(command: ['git', 'rev-parse', '--short=7', 'HEAD'], fallback: 'unknown', input: 'src/git-hash.h.in', output: 'git-hash.h'))]
|
||||
global_include_dirs = []
|
||||
global_args = []
|
||||
global_link_args = []
|
||||
|
|
Loading…
Add table
Reference in a new issue