Files
pybindgen/examples/cross_module_inheritance/wscript
T
Mike Owen 37dcfcb514 Adding the beginnings of an example for cross module inheritance. Not
building yet 'cause I don't  understand waf.  Why does every project I
look at use a different build system!
2012-12-10 23:26:25 -08:00

20 lines
443 B
Python

## -*- python -*-
def build(bld):
gen = bld.new_task_gen(
features='command',
source='Agen.py',
target='A.C',
command='${PYTHON} ${SRC[0]} > ${TGT[0]}')
if bld.env['CXX']:
obj = bld.new_task_gen(features=['cxx', 'cxxshlib', 'pyext'])
obj.source = [
'A.C',
]
obj.target = 'A'
obj.install_path = None # do not install
obj.includes = '.'