/[escript]/branches/ROBW_XPLATFORM/bruce/test/SConstruct
ViewVC logotype

Annotation of /branches/ROBW_XPLATFORM/bruce/test/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 622 - (hide annotations)
Wed Mar 22 14:00:08 2006 UTC (14 years, 4 months ago) by robwdcock
File size: 690 byte(s)
Creating a private branch so I can test and verify cross-platform build
1 jgs 242 # top-level Scons configuration file for all bruce unit tests
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('usegcc',0):
16     usegcc = 1
17     else:
18     usegcc = 0
19     Export(["usegcc"])
20    
21 jgs 248 if ARGUMENTS.get('options',0):
22     options = ARGUMENTS.get('options',0)
23     else:
24     options = None
25     Export(["options"])
26    
27 jgs 242 #
28     # set and export esysroot
29    
30 jgs 248 esysroot = Dir('#../..')
31 jgs 242 Export(["esysroot"])
32    
33     #
34     # call appropriate SConscripts
35    
36 jgs 288 target_scripts = ['Bruce/SConscript',
37     'BruceFactory/SConscript']
38 jgs 242
39     SConscript(target_scripts, duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26