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

Contents of /trunk/bruce/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 425 - (show annotations)
Tue Jan 10 04:10:39 2006 UTC (13 years, 10 months ago) by gross
File size: 1121 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 bruce
2 esysroot=str(Dir('./..').abspath)
3 execfile(str(File(esysroot+"/scons/esys_options.py")))
4 #
5 # set and export library directories
6
7 libdir = Dir(str(esysroot) + '/bruce/lib')
8 Export(["libdir"])
9 libdir2 = Dir(str(esysroot) + '/lib')
10 Export(["libdir2"])
11
12 #
13 # set and export python directories
14
15 pydir = Dir(str(esysroot) + '/bruce/lib/py_src')
16 Export(["pydir"])
17 pydir2 = Dir(str(esysroot) + '/esys/bruce')
18 Export(["pydir2"])
19
20 Export(["python_path"])
21 Export(["boost_path"])
22 Export(["cxx"])
23 Export(["cxx_flags"])
24 Export(["boost_lib_path"])
25 Export(["boost_lib"])
26 Export(["sys_libs"])
27
28 #
29 # print out build configuration for this module
30
31 print "Build configuration for module: bruce"
32 print " cxx: ", cxx
33 print " cxx_flags: ", cxx_flags
34
35 #
36 # call the SConscript to do the actual build
37
38 SConscript(dirs=['src/Bruce'], build_dir='obj/Bruce', duplicate=0)
39 SConscript(dirs=['py_src'], build_dir='obj/py_src', duplicate=0)
40 SConscript(dirs=['test/Bruce'], build_dir='obj/test/Bruce', duplicate=0)
41 SConscript(dirs=['test/BruceFactory'], build_dir='obj/test/BruceFactory', duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26