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