1 |
# Scons configuration file for CppUnitTest |
2 |
|
3 |
# set appropriate defaults for configuration variables |
4 |
esysroot=str(Dir('./../..').abspath) |
5 |
execfile(str(File(esysroot+"/scons/esys_options.py"))) |
6 |
|
7 |
libdir = Dir(str(esysroot) + '/tools/CppUnitTest/lib') |
8 |
Export(["libdir"]) |
9 |
|
10 |
Export(["cxx"]) |
11 |
Export(["cxx_flags"]) |
12 |
Export(["ar_flags"]) |
13 |
|
14 |
# |
15 |
# print out build configuration for this module |
16 |
|
17 |
print "Build configuration for module: CppUnitTest" |
18 |
print " cxx: ", cxx |
19 |
print " cxx_flags: ", cxx_flags |
20 |
|
21 |
# |
22 |
# call the SConscript to do the actual build |
23 |
|
24 |
SConscript('src/SConscript', src_dir='src', build_dir='obj', duplicate=0) |