1 |
Import('env') |
Import('env') |
2 |
|
extenv = env.Copy() |
3 |
|
|
4 |
|
if extenv.get('WITH_PYTHON'): |
5 |
|
extenv.Append(CPPDEFINES=['WITH_PYTHON']) |
6 |
|
|
7 |
for d in ['extfn','datareader']: |
for d in ['extfn','datareader']: |
8 |
env.SConscript(d+'/SConscript',['env']); |
extenv.SConscript(d+'/SConscript',['env']); |
9 |
|
|
10 |
if env.get('WITH_PYTHON'): |
if extenv.get('WITH_PYTHON'): |
11 |
env.SConscript('extpy/SConscript',['env']); |
print "BUILDING EXTPY -- WITH_PYTHON" |
12 |
|
extenv.SConscript('extpy/SConscript',['env']); |
13 |
|
|
14 |
# vim: set syntax=python: |
# vim: set syntax=python: |
15 |
|
|