mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-26 20:01:13 +01:00
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'
|
|
|