/[escript]/trunk/esysUtils/SConstruct
ViewVC logotype

Annotation of /trunk/esysUtils/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


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

1 jgs 214 # Scons configuration file for esysUtils
2 jgs 455
3 elspeth 643 # 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 jgs 455 #
11 elspeth 643 #
12 jgs 455 # set appropriate defaults for configuration variables
13 gross 425 esysroot=str(Dir('./..').abspath)
14     execfile(str(File(esysroot+"/scons/esys_options.py")))
15 jgs 190
16 jgs 191 Export(["python_path"])
17     Export(["boost_path"])
18 jgs 223 Export(["cxx"])
19 jgs 214 Export(["cxx_flags"])
20 jgs 225 Export(["ar_flags"])
21 jgs 191
22 jgs 214 #
23     # print out build configuration for this module
24 jgs 191
25 jgs 214 print "Build configuration for module: esysUtils"
26 jgs 223 print " cxx: ", cxx
27 gross 425 print " cxx_flags: ", cxx_flags
28 jgs 191
29 gross 425 # set and export library directory
30     libdir = Dir(str(esysroot) + '/esysUtils/lib')
31     Export(["libdir"])
32    
33 jgs 214 #
34     # call the SConscript to do the actual build
35    
36 jgs 309 SConscript(dirs=['src'], build_dir='obj/src', duplicate=0)
37     SConscript(dirs=['test/EsysException'], build_dir='obj/test/EsysException', duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26