/[escript]/temp/SConstruct
ViewVC logotype

Diff of /temp/SConstruct

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

revision 246 by jgs, Tue Nov 29 04:27:00 2005 UTC revision 618 by gross, Wed Mar 22 04:02:38 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
2    
 import os  
   
 #  
 # ensure correct versions of python and scons  
   
 EnsurePythonVersion(2,3)  
 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 = Dir('#lib')  
 Export(["libinstall"])  
   
 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"])  
   
3  #  #
4  # set and export esysroot  # set appropriate defaults for configuration variables
5    
6  esysroot = Dir('#.')  esysroot=str(Dir('.').abspath)
7  Export(["esysroot"])  execfile(str(File(esysroot+"/scons/esys_options.py")))
8    
9  #  #
10  # call appropriate SConscripts  # call appropriate SConscripts
11    
12  target_scripts = ['tools/CppUnitTest/SConstruct',  target_scripts = ['tools/CppUnitTest/SConstruct',
                   'tools/mmio/SConstruct',  
13                    'esysUtils/SConstruct',                    'esysUtils/SConstruct',
14                    'escript/SConstruct',                    'escript/SConstruct',
15                    'bruce/SConstruct',                    'bruce/SConstruct',
16                    'paso/SConstruct',                    'paso/SConstruct',
17                    'finley/SConstruct']                    'finley/SConstruct',
18                      'modellib/SConstruct',
19                      'pyvisi/SConstruct']
20                      # 'doc/SConstruct']
21                      # 'doc/SConstruct']
22    
23  SConscript(target_scripts, duplicate=0)  SConscript(target_scripts, duplicate=0)

Legend:
Removed from v.246  
changed lines
  Added in v.618

  ViewVC Help
Powered by ViewVC 1.1.26