Add Microsoft Visual Studio 2017 solution file for building wxMSW

Allow building with VS15 out of the box.

Closes https://github.com/wxWidgets/wxWidgets/pull/353
This commit is contained in:
Tobias Taschner
2016-11-23 21:47:33 +01:00
committed by Vadim Zeitlin
parent 79773dec34
commit 3206df50c4
9 changed files with 691 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
start cmd /k Call officialbuild.bat vc141
start cmd /k Call officialbuild.bat vc140
start cmd /k Call officialbuild.bat vc120
start cmd /k Call officialbuild.bat vc110

View File

@@ -15,6 +15,12 @@ rem ========================================================
set compvers="Unknown"
if "%1" == "vc141" (
@echo Building for vc141 / vs2017
set comp=141
set compvers=vc141
call "%VS150COMNTOOLS%VsDevCmd.bat"
)
if "%1" == "vc140" (
@echo Building for vc140 / vs2015
set comp=140
@@ -72,6 +78,7 @@ del %compvers%x86_Release.txt
del %compvers%x64_Debug.txt
del %compvers%x64_Release.txt
if "%compvers%" == "vc141" call "%VS150COMNTOOLS%..\..\VC\Auxiliary\Build\vcvarsall.bat" x64
if "%compvers%" == "vc140" call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat" x64
if "%compvers%" == "vc120" call "%VS120COMNTOOLS%..\..\VC\vcvarsall.bat" x64
if "%compvers%" == "vc110" call "%VS110COMNTOOLS%..\..\VC\vcvarsall.bat" x64
@@ -93,6 +100,7 @@ nmake -f makefile.vc BUILD=debug SHARED=1 COMPILER_VERSION=%comp% OFFICIAL_BUILD
if ERRORLEVEL 1 goto ERR_BUILD
if "%compvers%" == "vc141" call "%VS150COMNTOOLS%..\..\VC\Auxiliary\Build\vcvarsall.bat" x86
if "%compvers%" == "vc140" call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat" x86
if "%compvers%" == "vc120" call "%VS120COMNTOOLS%..\..\VC\vcvarsall.bat" x86
if "%compvers%" == "vc110" call "%VS110COMNTOOLS%..\..\VC\vcvarsall.bat" x86
@@ -143,6 +151,7 @@ goto End
:VERSIONS
@echo.
@echo Compiler Version: One of -
@echo vc141
@echo vc140
@echo vc120
@echo vc110