/[escript]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 214 by jgs, Thu Nov 24 05:15:26 2005 UTC revision 643 by elspeth, Fri Mar 24 00:28:41 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    
3  import os  #          Copyright 2006 by ACcESS MNRF                  
4    #                                                          
5  #  #              http://www.access.edu.au                    
6  # ensure correct versions of python and scons  #       Primary Business: Queensland, Australia            
7    #  Licensed under the Open Software License version 3.0    
8  EnsurePythonVersion(2,3)  #     http://www.opensource.org/licenses/osl-3.0.php      
9  EnsureSConsVersion(0,96)  #                                                          
   
10  #  #
 # 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('debug',0):  
   dodebug = 1  
 else:  
   dodebug = 0  
 Export(["dodebug"])  
   
 if ARGUMENTS.get('usegcc',0):  
   usegcc = 1  
 else:  
   usegcc = 0  
 Export(["usegcc"])  
   
11  #  #
12  # set and export esysroot  # set appropriate defaults for configuration variables
13    
14  esysroot = Dir('#.')  esysroot=str(Dir('.').abspath)
15  Export(["esysroot"])  execfile(str(File(esysroot+"/scons/esys_options.py")))
16    
17  #  #
18  # call appropriate SConscripts  # call appropriate SConscripts
19    
20  target_scripts = ['tools/CppUnitTest/SConstruct',  target_scripts = ['tools/CppUnitTest/SConstruct',
                   'tools/mmio/SConstruct',  
21                    'esysUtils/SConstruct',                    'esysUtils/SConstruct',
22                    'escript/SConstruct',                    'escript/SConstruct',
23                    'bruce/SConstruct',                    'bruce/SConstruct',
24                    'paso/SConstruct',                    'paso/SConstruct',
25                    'finley/SConstruct']                    'finley/SConstruct',
26                      'modellib/SConstruct',
27                      'pyvisi/SConstruct']
28                      # 'doc/SConstruct']
29                      # 'doc/SConstruct']
30    
31  SConscript(target_scripts, duplicate=0)  SConscript(target_scripts, duplicate=0)

Legend:
Removed from v.214  
changed lines
  Added in v.643

  ViewVC Help
Powered by ViewVC 1.1.26