mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-25 19:30:04 +01:00
docs
This commit is contained in:
parent
058b8f7f39
commit
9ddb8c27ef
@ -33,6 +33,11 @@ def build(bld):
|
||||
# by default install_path is set to ${PYTHONDIR})
|
||||
bld(features='py', source=bld.path.ant_glob('*.py'), install_from='.')
|
||||
|
||||
# example for generated python files
|
||||
target = bld.path.find_or_declare('abc.py')
|
||||
bld(rule='touch ${TGT}', source='wscript', target=target)
|
||||
bld(features='py', source=target, install_from=target.parent)
|
||||
|
||||
# then a c extension module
|
||||
bld(
|
||||
features = 'c cshlib pyext',
|
||||
|
Loading…
Reference in New Issue
Block a user