diff options
author | Jose <jose@zeroc.com> | 2010-02-19 22:56:48 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2010-02-19 22:56:48 +0100 |
commit | 8d23a1aafdbfb7e5b3986fd05eedf2a2a589b960 (patch) | |
tree | 15b2f9c2db03b72e12ef657cd59c7551861503be /demoscript/Util.py | |
parent | Fixed bug 4685 - bogus IceStorm clean rules (diff) | |
download | ice-8d23a1aafdbfb7e5b3986fd05eedf2a2a589b960.tar.bz2 ice-8d23a1aafdbfb7e5b3986fd05eedf2a2a589b960.tar.xz ice-8d23a1aafdbfb7e5b3986fd05eedf2a2a589b960.zip |
Bug 4693 - demoscript/Util.py configurePaths and BCC2010
Diffstat (limited to 'demoscript/Util.py')
-rw-r--r-- | demoscript/Util.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/demoscript/Util.py b/demoscript/Util.py index 180ce1eab7a..e12ae96d6a6 100644 --- a/demoscript/Util.py +++ b/demoscript/Util.py @@ -88,7 +88,15 @@ def configurePaths(): addenv("CLASSPATH", "classes") return # That's it, we're done! - binDir = os.path.join(getIceDir("cpp"), "bin") + binDir = os.path.join(getIceDir("cpp"), "bin") + + if isWin32() and iceHome: + compiler = "" + if os.environ.get("CPP_COMPILER", "") != "": + compiler = os.environ["CPP_COMPILER"] + if compiler == "BCC2010": + binDir = binDir + "\\bcc10;" + binDir + shlibVar = None libDir = None if not isWin32(): |