- updated msvc 2015 build script to point to new dependency url

This commit is contained in:
SoftCoder 2015-10-24 22:41:10 -07:00
parent 86912ce2a6
commit 81346ba6b9
1 changed files with 4 additions and 15 deletions

View File

@ -1,10 +1,5 @@
@echo off @echo off
rem To get this working you may need to copy the following:
rem C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Common.props to C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0
rem C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Platforms\Win32\PlatformToolsets\*.* to C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolsets
rem C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Platforms\Win32\Microsoft.Cpp.Win32.Common.props to C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32
rem change to the directory of this batch file rem change to the directory of this batch file
SET VCVARS_PLATFORM=x86_amd64 SET VCVARS_PLATFORM=x86_amd64
@ -29,7 +24,7 @@ goto processBuildStageA
:getDepFile :getDepFile
ECHO Retrieving windows dependency archive... ECHO Retrieving windows dependency archive...
call .\wget.exe -c -O ..\..\source\%depfile% http://github.com/MegaGlest/megaglest-source/releases/download/3.2.3/%depfile% call .\wget.exe -c -O ..\..\source\%depfile% http://http://softcoder.megaglest.org/msvc/2015/%depfile%
call .\7z.exe x -r -o..\..\source\ ..\..\source\%depfile% call .\7z.exe x -r -o..\..\source\ ..\..\source\%depfile%
goto processBuildStageA goto processBuildStageA
@ -42,9 +37,9 @@ if NOT "%7ztestdep%" == "0" goto getDepFile
goto processBuildStageA goto processBuildStageA
:processBuildStageA :processBuildStageA
call CopyWindowsRuntimeDlls_2012.bat nopause call CopyWindowsRuntimeDlls_2015.bat nopause
rem setup the Visual Studio 2010 environment rem setup the Visual Studio 2015 environment
ECHO -------------------------------- ECHO --------------------------------
ECHO Setting up Visual Studio 2015 environment vars... ECHO Setting up Visual Studio 2015 environment vars...
REM Ensure ultifds HP doesn't mess the build up REM Ensure ultifds HP doesn't mess the build up
@ -57,7 +52,6 @@ GOTO GITSECTION
IF EXIST "%VS140COMNTOOLS%..\..\" GOTO VC_Common_15 IF EXIST "%VS140COMNTOOLS%..\..\" GOTO VC_Common_15
IF EXIST "\Program Files\Microsoft Visual Studio 14.0\" GOTO VC_32_15 IF EXIST "\Program Files\Microsoft Visual Studio 14.0\" GOTO VC_32_15
IF EXIST "\Program Files (x86)\Microsoft Visual Studio 14.0\" GOTO VC_64_15 IF EXIST "\Program Files (x86)\Microsoft Visual Studio 14.0\" GOTO VC_64_15
goto GITSECTION goto GITSECTION
:VC_Common_15 :VC_Common_15
@ -74,10 +68,6 @@ ECHO 64 bit Windows detected...
call "\Program Files (x86)\Microsoft Visual Studio 14.0\vc\vcvarsall.bat" %VCVARS_PLATFORM% call "\Program Files (x86)\Microsoft Visual Studio 14.0\vc\vcvarsall.bat" %VCVARS_PLATFORM%
goto GITSECTION goto GITSECTION
:VC_Common
rem call "%VS100COMNTOOLS%..\..\vc\vcvarsall.bat"
goto GITSECTION
:GITSECTION :GITSECTION
rem Update from GIT to latest rev rem Update from GIT to latest rev
ECHO -------------------------------- ECHO --------------------------------
@ -103,7 +93,7 @@ copy /b ..\..\source\glest_game\facilities\game_util.cpp +,,
rem Build Mega-Glest in release mode rem Build Mega-Glest in release mode
ECHO -------------------------------- ECHO --------------------------------
Echo Building MegaGlest using Visual Studio 2012... Echo Building MegaGlest using Visual Studio 2015...
set CL=/MP set CL=/MP
rem set INCLUDE=%ProgramFiles(x86)%\Microsoft SDKs\Windows\7.1A\Include;%INCLUDE% rem set INCLUDE=%ProgramFiles(x86)%\Microsoft SDKs\Windows\7.1A\Include;%INCLUDE%
@ -139,7 +129,6 @@ if %NUMBER_OF_PROCESSORS% GTR 2 (
SET msBuildMaxCPU=/maxcpucount) SET msBuildMaxCPU=/maxcpucount)
ECHO Found CPU Count [%NUMBER_OF_PROCESSORS%] ECHO Found CPU Count [%NUMBER_OF_PROCESSORS%]
rem SET MSBUILD_PATH_MG_x64="%ProgramFiles(x86)%\MSBuild\Microsoft.Cpp\v4.0\V110\\"
SET MSBUILD_PATH_MG_x64="%ProgramFiles(x86)%\MSBuild\Microsoft.Cpp\v4.0\V140\\" SET MSBUILD_PATH_MG_x64="%ProgramFiles(x86)%\MSBuild\Microsoft.Cpp\v4.0\V140\\"
if "%2" == "rebuild" echo Doing a FULL REBUILD... if "%2" == "rebuild" echo Doing a FULL REBUILD...