waf: Add an install command.

This commit is contained in:
Chris Johns
2016-10-31 08:48:21 +11:00
parent 47aad7a5c3
commit dd43d0b0f8
3 changed files with 77 additions and 46 deletions

View File

@@ -27,9 +27,12 @@ def options(opt):
def configure(conf):
for b in building:
conf.recurse(b)
conf.env['BUILD_FROM_TOP'] = 'yes'
def build(ctx):
for b in building:
ctx.recurse(b)
def install(ctx):
for b in building:
ctx.recurse(b)