/[escript]/trunk/bruce/test/SConstruct
ViewVC logotype

Contents of /trunk/bruce/test/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 643 - (show annotations)
Fri Mar 24 00:28:41 2006 UTC (14 years, 8 months ago) by elspeth
File size: 1112 byte(s)
More copyright info added.

1 # top-level Scons configuration file for all bruce unit tests
2
3 # Copyright 2006 by ACcESS MNRF
4 #
5 # http://www.access.edu.au
6 # Primary Business: Queensland, Australia
7 # Licensed under the Open Software License version 3.0
8 # http://www.opensource.org/licenses/osl-3.0.php
9 #
10 #
11 import os
12
13 #
14 # ensure correct versions of python and scons
15
16 EnsurePythonVersion(2,3)
17 EnsureSConsVersion(0,96)
18
19 #
20 # retreive command-line arguments if any
21 # these are passed through to SConscripts
22
23 if ARGUMENTS.get('usegcc',0):
24 usegcc = 1
25 else:
26 usegcc = 0
27 Export(["usegcc"])
28
29 if ARGUMENTS.get('options',0):
30 options = ARGUMENTS.get('options',0)
31 else:
32 options = None
33 Export(["options"])
34
35 #
36 # set and export esysroot
37
38 esysroot = Dir('#../..')
39 Export(["esysroot"])
40
41 #
42 # call appropriate SConscripts
43
44 target_scripts = ['Bruce/SConscript',
45 'BruceFactory/SConscript']
46
47 SConscript(target_scripts, duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26