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

Annotation of /branches/diaplayground/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 214 - (hide annotations)
Thu Nov 24 05:15:26 2005 UTC (13 years, 10 months ago) by jgs
Original Path: trunk/SConstruct
File size: 996 byte(s)
collect all information needed to determine build
configuration (ie: debug/nodebug, host, platform etc)

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     if ARGUMENTS.get('debug',0):
22     dodebug = 1
23     else:
24     dodebug = 0
25     Export(["dodebug"])
26    
27     if ARGUMENTS.get('usegcc',0):
28     usegcc = 1
29     else:
30     usegcc = 0
31     Export(["usegcc"])
32    
33     #
34     # set and export esysroot
35    
36 jgs 189 esysroot = Dir('#.')
37     Export(["esysroot"])
38    
39 jgs 214 #
40     # call appropriate SConscripts
41 jgs 192
42 jgs 214 target_scripts = ['tools/CppUnitTest/SConstruct',
43     'tools/mmio/SConstruct',
44     'esysUtils/SConstruct',
45     'escript/SConstruct',
46     'bruce/SConstruct',
47     'paso/SConstruct',
48     'finley/SConstruct']
49    
50     SConscript(target_scripts, duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26