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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
waf_old/docs/book/examples/advbuild_variant/wscript

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'