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

Annotation of /branches/schroedinger_upto1946/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 268 - (hide annotations)
Wed Nov 30 01:39:47 2005 UTC (12 years, 7 months ago) by jgs
Original Path: trunk/SConstruct
File size: 1151 byte(s)
setup scons configuration to make and install python code

1 jgs 214 # 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 jgs 246 if ARGUMENTS.get('options',0):
22     options = ARGUMENTS.get('options',0)
23     else:
24     options = None
25     Export(["options"])
26    
27 jgs 214 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 jgs 189 esysroot = Dir('#.')
43     Export(["esysroot"])
44    
45 jgs 214 #
46     # call appropriate SConscripts
47 jgs 192
48 jgs 214 target_scripts = ['tools/CppUnitTest/SConstruct',
49     'tools/mmio/SConstruct',
50     'esysUtils/SConstruct',
51     'escript/SConstruct',
52     'bruce/SConstruct',
53     'paso/SConstruct',
54 jgs 268 'finley/SConstruct',
55     'modellib/SConstruct']
56 jgs 214
57     SConscript(target_scripts, duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26