/[escript]/trunk/SConstruct
ViewVC logotype

Contents of /trunk/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 340 - (show annotations)
Mon Dec 12 05:10:45 2005 UTC (17 years, 3 months ago) by jgs
File size: 1268 byte(s)
pass in pyinstall value from top-level scons script and add
correct suffix in module level scons scipr

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('pyinstall',0):
22 pyinstall = ARGUMENTS.get('pyinstall',0)
23 else:
24 pyinstall = None
25 Export(["pyinstall"])
26
27 if ARGUMENTS.get('options',0):
28 options = ARGUMENTS.get('options',0)
29 else:
30 options = None
31 Export(["options"])
32
33 if ARGUMENTS.get('debug',0):
34 dodebug = 1
35 else:
36 dodebug = 0
37 Export(["dodebug"])
38
39 if ARGUMENTS.get('usegcc',0):
40 usegcc = 1
41 else:
42 usegcc = 0
43 Export(["usegcc"])
44
45 #
46 # set and export esysroot
47
48 esysroot = Dir('#.')
49 Export(["esysroot"])
50
51 #
52 # call appropriate SConscripts
53
54 target_scripts = ['tools/CppUnitTest/SConstruct',
55 'tools/mmio/SConstruct',
56 'esysUtils/SConstruct',
57 'escript/SConstruct',
58 'bruce/SConstruct',
59 'paso/SConstruct',
60 'finley/SConstruct',
61 'modellib/SConstruct']
62
63 SConscript(target_scripts, duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26