/[escript]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 189 by jgs, Mon Nov 21 03:26:46 2005 UTC revision 268 by jgs, Wed Nov 30 01:39:47 2005 UTC
# Line 1  Line 1 
1    # top-level Scons configuration file for all esys13 modules
2    
3    import os
4    
5    #
6    # ensure correct versions of python and scons
7    
8    EnsurePythonVersion(2,3)
9    EnsureSConsVersion(0,96)
10    
11    #
12    # retreive command-line arguments if any
13    # these are passed through to SConscripts
14    
15    if ARGUMENTS.get('libinstall',0):
16      libinstall = ARGUMENTS.get('libinstall',0)
17    else:
18      libinstall = Dir('#lib')
19    Export(["libinstall"])
20    
21    if ARGUMENTS.get('options',0):
22      options = ARGUMENTS.get('options',0)
23    else:
24      options = None
25    Export(["options"])
26    
27    if ARGUMENTS.get('debug',0):
28      dodebug = 1
29    else:
30      dodebug = 0
31    Export(["dodebug"])
32    
33    if ARGUMENTS.get('usegcc',0):
34      usegcc = 1
35    else:
36      usegcc = 0
37    Export(["usegcc"])
38    
39    #
40    # set and export esysroot
41    
42  esysroot = Dir('#.')  esysroot = Dir('#.')
43  Export(["esysroot"])  Export(["esysroot"])
44    
45  SConscript(['tools/CppUnitTest/SConstruct','tools/mmio/SConstruct','esysUtils/SConstruct','escript/SConstruct','paso/SConstruct','finley/SConstruct','bruce/SConstruct'], duplicate=0)  #
46    # call appropriate SConscripts
47    
48    target_scripts = ['tools/CppUnitTest/SConstruct',
49                      'tools/mmio/SConstruct',
50                      'esysUtils/SConstruct',
51                      'escript/SConstruct',
52                      'bruce/SConstruct',
53                      'paso/SConstruct',
54                      'finley/SConstruct',
55                      'modellib/SConstruct']
56    
57    SConscript(target_scripts, duplicate=0)

Legend:
Removed from v.189  
changed lines
  Added in v.268

  ViewVC Help
Powered by ViewVC 1.1.26