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