Skip to content

Commit 252abd4

Browse files
author
Bin Zhang
authored
Merge pull request #411 from natural-law/support-vs2017
Support VS2017 in cocos compile.
2 parents 428dec3 + d1a2638 commit 252abd4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

bin/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
VS_VERSION_MAP = {
1111
2012 : "11.0",
1212
2013 : "12.0",
13-
2015 : "14.0"
13+
2015 : "14.0",
14+
2017 : "15.0"
1415
}
1516

1617
def get_msbuild_path(vs_version):

plugins/plugin_compile/project_compile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ def get_required_vs_versions(self):
10021002
return ret
10031003

10041004
if (major_ver > 3) or (major_ver == 3 and minor_ver >= 7):
1005-
ret = [ 2013, 2015 ]
1005+
ret = [ 2013, 2015, 2017 ]
10061006
else:
10071007
ret = [ 2012, 2013 ]
10081008

0 commit comments

Comments
 (0)