diff options
author | Jose <jose@zeroc.com> | 2019-06-06 19:53:47 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-06-06 19:53:47 +0200 |
commit | 15e928bfe0049b1764bf7f8fd8e1406d72e48efa (patch) | |
tree | 32c07ae380715af94b66723bc7b187cc4699a601 | |
parent | Fix Incorrect generated code for class implements interface (diff) | |
download | ice-15e928bfe0049b1764bf7f8fd8e1406d72e48efa.tar.bz2 ice-15e928bfe0049b1764bf7f8fd8e1406d72e48efa.tar.xz ice-15e928bfe0049b1764bf7f8fd8e1406d72e48efa.zip |
Fix Windows.getCompiler to account for Visual Studio 2019
-rw-r--r-- | scripts/Util.py | 4 |
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: |