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

Contents of /trunk/bruce/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 455 - (show annotations)
Tue Jan 24 04:36:54 2006 UTC (14 years, 8 months ago) by jgs
File size: 1181 byte(s)
minor comment and formatting changes

1 # Scons configuration file for bruce
2
3 #
4 # set appropriate defaults for configuration variables
5
6 esysroot=str(Dir('./..').abspath)
7 execfile(str(File(esysroot+"/scons/esys_options.py")))
8
9 Export(["python_path"])
10 Export(["boost_path"])
11 Export(["cxx"])
12 Export(["cxx_flags"])
13 Export(["boost_lib_path"])
14 Export(["boost_lib"])
15 Export(["sys_libs"])
16
17 #
18 # set and export library directories
19
20 libdir = Dir(str(esysroot) + '/bruce/lib')
21 Export(["libdir"])
22 libdir2 = Dir(str(esysroot) + '/lib')
23 Export(["libdir2"])
24
25 #
26 # set and export python directories
27
28 pydir = Dir(str(esysroot) + '/bruce/lib/py_src')
29 Export(["pydir"])
30 pydir2 = Dir(str(esysroot) + '/esys/bruce')
31 Export(["pydir2"])
32
33 #
34 # print out build configuration for this module
35
36 print "Build configuration for module: bruce"
37 print " cxx: ", cxx
38 print " cxx_flags: ", cxx_flags
39
40 #
41 # call the SConscript to do the actual build
42
43 SConscript(dirs=['src/Bruce'], build_dir='obj/Bruce', duplicate=0)
44 SConscript(dirs=['py_src'], build_dir='obj/py_src', duplicate=0)
45 SConscript(dirs=['test/Bruce'], build_dir='obj/test/Bruce', duplicate=0)
46 SConscript(dirs=['test/BruceFactory'], build_dir='obj/test/BruceFactory', duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26