You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
389 B
Python
21 lines
389 B
Python
#! /usr/bin/env python
|
|
|
|
"""
|
|
Typical projects are build by using:
|
|
$ waf configure build
|
|
Other build commands may build the same project in a different output directory
|
|
$ waf configure debug
|
|
"""
|
|
|
|
def configure(ctx):
|
|
pass
|
|
|
|
def build(ctx):
|
|
ctx(rule='touch ${TGT}', target=ctx.cmd + '.txt')
|
|
|
|
from waflib.Build import BuildContext
|
|
class debug(BuildContext):
|
|
cmd = 'debug'
|
|
variant = 'debug'
|
|
|