Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Commit

Permalink
Add Microsoft Visual Studio 2017 support to our build scripting.
Browse files Browse the repository at this point in the history
* gen-make.py
  (_usage_exit): Document new support.
  
* build/generator/gen_win_dependencies.py
  (parse_options): Add '2017' as explicitly handled option.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1786653 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
rhuijben committed Mar 13, 2017
1 parent 8e9dd32 commit 91eb16b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions build/generator/gen_win_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,11 @@ def parse_options(self, options):
self.sln_version = '12.00'
self.vcproj_version = '14.0'
self.vcproj_extension = '.vcxproj'
elif val == '2017' or val == '15':
self.vs_version = '2015'
self.sln_version = '12.00'
self.vcproj_version = '15.0'
self.vcproj_extension = '.vcxproj'
elif re.match('^20\d+$', val):
print('WARNING: Unknown VS.NET version "%s",'
' assuming VS2012. Your VS can probably upgrade')
Expand Down
2 changes: 1 addition & 1 deletion gen-make.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def _usage_exit(err=None):
print(" Use static openssl")
print("")
print(" --vsnet-version=VER")
print(" generate for VS.NET version VER (2005-2015 or 9.0-14.0)")
print(" generate for VS.NET version VER (2005-2017 or 9.0-15.0)")
print(" [implies '-t vcproj']")
print("")
print(" -D NAME[=value]")
Expand Down

0 comments on commit 91eb16b

Please sign in to comment.