/[escript]/branches/dirac/SConstruct
ViewVC logotype

Diff of /branches/dirac/SConstruct

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

revision 380 by gross, Mon Dec 19 01:54:51 2005 UTC revision 425 by gross, Tue Jan 10 04:10:39 2006 UTC
# Line 1  Line 1 
1  # top-level Scons configuration file for all esys13 modules  # top-level Scons configuration file for all esys13 modules
   
 import os  
   
2  #  #
3  # ensure correct versions of python and scons  # set appropriate defaults for configuration variables
4    esysroot=str(Dir('.').abspath)
5  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('libinstall',0):  
   libinstall = ARGUMENTS.get('libinstall',0)  
 else:  
   libinstall = None  
 Export(["libinstall"])  
   
 if ARGUMENTS.get('pyinstall',0):  
   pyinstall = ARGUMENTS.get('pyinstall',0)  
 else:  
   pyinstall = None  
 Export(["pyinstall"])  
   
 if ARGUMENTS.get('options',0):  
   options = ARGUMENTS.get('options',0)  
 else:  
   options = None  
 Export(["options"])  
   
 if ARGUMENTS.get('debug',0):  
   dodebug = 1  
 else:  
   dodebug = 0  
 Export(["dodebug"])  
   
 if ARGUMENTS.get('usegcc',0):  
   usegcc = 1  
 else:  
   usegcc = 0  
 Export(["usegcc"])  
   
 #  
 # set and export esysroot  
   
 esysroot = Dir('#.')  
 Export(["esysroot"])  
6    
7  #  #
8  # call appropriate SConscripts  # call appropriate SConscripts

Legend:
Removed from v.380  
changed lines
  Added in v.425

  ViewVC Help
Powered by ViewVC 1.1.26