diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2018-01-01 16:56:58 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2018-01-01 16:56:58 +0100 |
commit | dc21473907945d7a3930f546d11eeaebccbfe71d (patch) | |
tree | 95969f68eeaa52014f8c7062c53fcfff9038ba21 /wscript | |
parent | ed6ae656b0695efd535cb2e71296da5cb7c74464 (diff) |
build: generate version.h before anything else
This seems to fix issues when building on windows where compiling mpv.rc
after a `waf clean` resulted in a failure because version.h was not
always present
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1061,7 +1061,12 @@ def build(ctx): 'The project was not configured: run "waf --variant={0} configure" first!' .format(ctx.options.variant)) ctx.unpack_dependencies_lists() + ctx.add_group('versionh') + ctx.add_group('sources') + + ctx.set_group('versionh') __write_version__(ctx) + ctx.set_group('sources') ctx.load('wscript_build') def init(ctx): |