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!
This commit is contained in:
Mike Owen committed 2012-12-10 23:26:25 -08:00
1 parent 2560c98f5e
commit 37dcfcb514
6 files changed
+126

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
## -*- 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 = '.'