1 |
jgs |
268 |
# Scons configuration file for modellib |
2 |
jgs |
455 |
|
3 |
|
|
# |
4 |
|
|
# set appropriate configuration variable defaults |
5 |
gross |
425 |
esysroot=str(Dir('./..').abspath) |
6 |
|
|
execfile(str(File(esysroot+"/scons/esys_options.py"))) |
7 |
jgs |
268 |
|
8 |
|
|
pydir = Dir(str(esysroot) + '/modellib/lib/py_src') |
9 |
|
|
Export(["pydir"]) |
10 |
jgs |
288 |
pydir2 = Dir(str(esysroot) + '/esys/modellib') |
11 |
|
|
Export(["pydir2"]) |
12 |
jgs |
457 |
if pyinstall != None: |
13 |
|
|
pyinstall = Dir(str(pyinstall) + '/modellib') |
14 |
|
|
Export(["pyinstall"]) |
15 |
jgs |
268 |
|
16 |
|
|
# |
17 |
|
|
# print out build configuration for this module |
18 |
|
|
|
19 |
|
|
print "Build configuration for module: modellib" |
20 |
jgs |
455 |
|
21 |
jgs |
268 |
# |
22 |
|
|
# call the SConscript to do the actual build |
23 |
|
|
|
24 |
|
|
SConscript(dirs=['py_src'], build_dir='obj/py_src', duplicate=0) |