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

Annotation of /trunk/esysUtils/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 425 - (hide annotations)
Tue Jan 10 04:10:39 2006 UTC (17 years, 1 month 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 jgs 214 # Scons configuration file for esysUtils
2 gross 425 esysroot=str(Dir('./..').abspath)
3     execfile(str(File(esysroot+"/scons/esys_options.py")))
4 jgs 190
5 jgs 191 Export(["python_path"])
6     Export(["boost_path"])
7 jgs 223 Export(["cxx"])
8 jgs 214 Export(["cxx_flags"])
9 jgs 225 Export(["ar_flags"])
10 jgs 191
11 jgs 214 #
12     # print out build configuration for this module
13 jgs 191
14 jgs 214 print "Build configuration for module: esysUtils"
15 jgs 223 print " cxx: ", cxx
16 gross 425 print " cxx_flags: ", cxx_flags
17 jgs 191
18 gross 425
19     # set and export library directory
20     libdir = Dir(str(esysroot) + '/esysUtils/lib')
21     Export(["libdir"])
22    
23 jgs 214 #
24     # call the SConscript to do the actual build
25    
26 jgs 309 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