/[ascend]/trunk/models/johnpye/SConscript
ViewVC logotype

Diff of /trunk/models/johnpye/SConscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 981 by johnpye, Thu Dec 21 01:43:07 2006 UTC revision 982 by johnpye, Thu Dec 21 03:18:54 2006 UTC
# Line 1  Line 1 
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    

Legend:
Removed from v.981  
changed lines
  Added in v.982

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22