summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-06-06 19:53:47 +0200
committerJose <jose@zeroc.com>2019-06-06 19:53:47 +0200
commit15e928bfe0049b1764bf7f8fd8e1406d72e48efa (patch)
tree32c07ae380715af94b66723bc7b187cc4699a601
parentFix Incorrect generated code for class implements interface (diff)
downloadice-15e928bfe0049b1764bf7f8fd8e1406d72e48efa.tar.bz2
ice-15e928bfe0049b1764bf7f8fd8e1406d72e48efa.tar.xz
ice-15e928bfe0049b1764bf7f8fd8e1406d72e48efa.zip
Fix Windows.getCompiler to account for Visual Studio 2019
-rw-r--r--scripts/Util.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/Util.py b/scripts/Util.py
index beb0ddc883a..a8ee573f020 100644
--- a/scripts/Util.py
+++ b/scripts/Util.py
@@ -398,8 +398,10 @@ class Windows(Platform):
self.compiler = "v120"
elif out.find("Version 19.00.") != -1:
self.compiler = "v140"
- elif out.find("Version 19.") != -1:
+ elif out.find("Version 19.1") != -1:
self.compiler = "v141"
+ elif out.find("Version 19.2") != -1:
+ self.compiler = "v142"
else:
raise RuntimeError("Unknown compiler version:\n{0}".format(out))
except: