/[escript]/trunk/finley/test/SConstruct
ViewVC logotype

Diff of /trunk/finley/test/SConstruct

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

revision 248 by jgs, Tue Nov 29 04:58:23 2005 UTC revision 455 by jgs, Tue Jan 24 04:36:54 2006 UTC
# Line 1  Line 1 
1  # top-level Scons configuration file for all finley unit tests  # top-level Scons configuration file for all finley unit tests
2    
 import os  
   
3  #  #
4  # ensure correct versions of python and scons  # set appropriate configuration variable defaults
5    esysroot=str(Dir('./../../').abspath)
6  EnsurePythonVersion(2,3)  execfile(str(File(esysroot+"/scons/esys_options.py")))
 EnsureSConsVersion(0,96)  
   
 #  
 # retreive command-line arguments if any  
 # these are passed through to SConscripts  
   
 if ARGUMENTS.get('usegcc',0):  
   usegcc = 1  
 else:  
   usegcc = 0  
 Export(["usegcc"])  
   
 if ARGUMENTS.get('options',0):  
   options = ARGUMENTS.get('options',0)  
 else:  
   options = None  
 Export(["options"])  
   
 #  
 # set and export esysroot  
   
 esysroot = Dir('#../..')  
 Export(["esysroot"])  
7    
8  #  #
9  # call appropriate SConscripts  # call appropriate SConscripts
10    
11  target_scripts = ['MeshAdapter/SConstruct']  target_scripts = ['MeshAdapter/SConscript']
12    
13  SConscript(target_scripts, duplicate=0)  SConscript(target_scripts, duplicate=0)

Legend:
Removed from v.248  
changed lines
  Added in v.455

  ViewVC Help
Powered by ViewVC 1.1.26