/[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 982 by johnpye, Thu Dec 21 03:18:54 2006 UTC revision 983 by johnpye, Thu Dec 21 03:43:11 2006 UTC
# Line 1  Line 1 
1  Import('env')  Import('env')
2  extenv = env.Copy()  extenv = env.Copy()
3    
 if extenv.get('WITH_PYTHON'):  
     extenv.Append(CPPDEFINES=['WITH_PYTHON'])  
   
4  for d in ['extfn','datareader']:  for d in ['extfn','datareader']:
5      extenv.SConscript(d+'/SConscript',['env']);      extenv.SConscript(d+'/SConscript',['env']);
6    
7  if extenv.get('WITH_PYTHON'):  if extenv.get('WITH_PYTHON'):
     print "BUILDING EXTPY -- WITH_PYTHON"  
8      extenv.SConscript('extpy/SConscript',['env']);      extenv.SConscript('extpy/SConscript',['env']);
9    
10  # vim: set syntax=python:  # vim: set syntax=python:

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

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