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

Contents of /trunk/esysUtils/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 425 - (show annotations)
Tue Jan 10 04:10:39 2006 UTC (17 years, 2 months ago) by gross
File size: 709 byte(s)
The sparse solver can be called by paso now. 

the building has been change to reduce some code redundancy:
now all scons SCscripts are importing scons/esys_options.py which
imports platform specific settings. 



1 # Scons configuration file for esysUtils
2 esysroot=str(Dir('./..').abspath)
3 execfile(str(File(esysroot+"/scons/esys_options.py")))
4
5 Export(["python_path"])
6 Export(["boost_path"])
7 Export(["cxx"])
8 Export(["cxx_flags"])
9 Export(["ar_flags"])
10
11 #
12 # print out build configuration for this module
13
14 print "Build configuration for module: esysUtils"
15 print " cxx: ", cxx
16 print " cxx_flags: ", cxx_flags
17
18
19 # set and export library directory
20 libdir = Dir(str(esysroot) + '/esysUtils/lib')
21 Export(["libdir"])
22
23 #
24 # call the SConscript to do the actual build
25
26 SConscript(dirs=['src'], build_dir='obj/src', duplicate=0)
27 SConscript(dirs=['test/EsysException'], build_dir='obj/test/EsysException', duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26