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

Contents of /branches/windows_from_1456_trunk_1544_merged_in/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 288 - (show annotations)
Fri Dec 2 01:55:04 2005 UTC (13 years, 10 months ago) by jgs
Original Path: trunk/SConstruct
File size: 1144 byte(s)
now automatically build unit tests as required based on dependencies
between unit tests and libraries

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 = None
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('#.')
43 Export(["esysroot"])
44
45 #
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)

  ViewVC Help
Powered by ViewVC 1.1.26