13 |
|
|
14 |
esysroot = Dir('#../../..') |
esysroot = Dir('#../../..') |
15 |
usegcc = 0 |
usegcc = 0 |
16 |
|
options = None |
17 |
|
|
18 |
# |
# |
19 |
# retreive command-line arguments if any |
# retreive command-line arguments if any |
21 |
if ARGUMENTS.get('usegcc',0): |
if ARGUMENTS.get('usegcc',0): |
22 |
usegcc = 1 |
usegcc = 1 |
23 |
|
|
24 |
|
if ARGUMENTS.get('options',0): |
25 |
|
options = ARGUMENTS.get('options',0) |
26 |
|
|
27 |
# |
# |
28 |
# determine platform |
# determine platform |
29 |
|
|
47 |
if usegcc==1: |
if usegcc==1: |
48 |
from gcc_options import * |
from gcc_options import * |
49 |
|
|
50 |
|
if options!=None: |
51 |
|
exec "from " + options + " import *" |
52 |
|
|
53 |
cxx_flags=cxx_flags_debug |
cxx_flags=cxx_flags_debug |
54 |
|
|
55 |
# |
# |
56 |
# print out build configuration for this module |
# print out build configuration for this module |
57 |
|
|
58 |
print "####################################################" |
print "####################################################" |
59 |
print "Build configuration for module: Bruce unit tests" |
print "Build configuration for module: EsysException unit tests" |
|
print "Build configuration for module: Bruce unit tests" |
|
60 |
print " dodebug: 1" |
print " dodebug: 1" |
61 |
print " usegcc: ", usegcc |
print " usegcc: ", usegcc |
62 |
print " cxx: ", cxx |
print " cxx: ", cxx |