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) |