mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
Change default Windows compiler to MSVS 2015 (VS version 14.0)
BUG= R=zra@google.com Review URL: https://codereview.chromium.org/2217393002 .
This commit is contained in:
parent
a83edeee95
commit
e82a20b180
1 changed files with 3 additions and 3 deletions
|
@ -103,7 +103,7 @@ def GetWindowsRegistryKeyName(name):
|
|||
|
||||
# Try to guess Visual Studio location when buiding on Windows.
|
||||
def GuessVisualStudioPath():
|
||||
defaultPath = r"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7" \
|
||||
defaultPath = r"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7" \
|
||||
r"\IDE"
|
||||
defaultExecutable = "devenv.com"
|
||||
|
||||
|
@ -148,8 +148,8 @@ def GuessVisualStudioPath():
|
|||
# Can't find value under the key - continue to the next key.
|
||||
continue
|
||||
isExpress = executable != 'devenv.com'
|
||||
if not isExpress and subkeyName == '12.0':
|
||||
# Stop search since if we found non-Express VS2013 version
|
||||
if not isExpress and subkeyName == '14.0':
|
||||
# Stop search since if we found non-Express VS2015 version
|
||||
# installed, which is preferred version.
|
||||
return installDir, executable
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue