Shot at new, improved building script for Windows buildbot.
Originally committed to SVN as r3287.
This commit is contained in:
parent
e16fa24293
commit
18596a5f27
1 changed files with 64 additions and 28 deletions
|
@ -1,30 +1,66 @@
|
||||||
@set DFSTRACINGON=FALSE
|
@echo off
|
||||||
@set DXSDK_DIR=C:\Program Files (x86)\Microsoft DirectX SDK (March 2009)\
|
|
||||||
@set FP_NO_HOST_CHECK=NO
|
set OS=Windows_NT
|
||||||
@set Framework35Version=v3.5
|
set PROCESSOR_ARCHITECTURE=AMD64
|
||||||
@set FrameworkDir=C:\Windows\Microsoft.NET\Framework64
|
set PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 7, GenuineIntel
|
||||||
@set FrameworkVersion=v2.0.50727
|
set PROCESSOR_LEVEL=6
|
||||||
@set INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE;C:\Program Files\Microsoft SDKs\Windows\v6.0A\include;
|
set PROCESSOR_REVISION=0f07
|
||||||
@set LIB=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB\amd64;C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib\x64;
|
set TRACE_FORMAT_SEARCH_PATH=\\NTREL202.ntdev.corp.microsoft.com\34FB5F65-FFEB-4B61-BF0E-A6A76C450FAA\TraceFormat
|
||||||
@set LIBPATH=C:\Windows\Microsoft.NET\Framework64\v3.5;C:\Windows\Microsoft.NET\Framework64\v2.0.50727;C:\Windows\Microsoft.NET\Framework64\v3.5;C:\Windows\Microsoft.NET\Framework64\v2.0.50727;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB\amd64;
|
set DFSTRACINGON=FALSE
|
||||||
@set LOCALAPPDATA=C:\Users\Aegisub\AppData\Local
|
set FP_NO_HOST_CHECK=NO
|
||||||
@set OS=Windows_NT
|
|
||||||
@set Path=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64;C:\Windows\Microsoft.NET\Framework64\v3.5;C:\Windows\Microsoft.NET\Framework64\v3.5\Microsoft .NET Framework 3.5 (Pre-Release Version);C:\Windows\Microsoft.NET\Framework64\v2.0.50727;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\bin;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\x64;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\win64\x64;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin;C:\Program Files (x86)\CollabNet Subversion Server;C:\cygwin\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\TortoiseSVN\bin;C:\Python25;C:\Python25\Scripts
|
set CommonProgramFiles=C:\Program Files\Common Files
|
||||||
@set PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY
|
set CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
|
||||||
@set PROCESSOR_ARCHITECTURE=AMD64
|
set ProgramFiles=C:\Program Files
|
||||||
@set PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 7, GenuineIntel
|
set ProgramFiles(x86)=C:\Program Files (x86)
|
||||||
@set PROCESSOR_LEVEL=6
|
|
||||||
@set PROCESSOR_REVISION=0f07
|
set VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 9.0
|
||||||
@set TRACE_FORMAT_SEARCH_PATH=\\NTREL202.ntdev.corp.microsoft.com\34FB5F65-FFEB-4B61-BF0E-A6A76C450FAA\TraceFormat
|
set VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
|
||||||
@set VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
|
set VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\
|
||||||
@set VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\
|
set DXSDK_DIR=C:\Program Files (x86)\Microsoft DirectX SDK (March 2009)\
|
||||||
@set VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 9.0
|
set WindowsSdkDir=C:\Program Files\Microsoft SDKs\Windows\v6.0A\
|
||||||
@set WindowsSdkDir=C:\Program Files\Microsoft SDKs\Windows\v6.0A\
|
|
||||||
@set TEMP=C:\Users\Aegisub\AppData\Local\Temp
|
set HOME=C:\Users\Aegisub
|
||||||
@set TMP=C:\Users\Aegisub\AppData\Local\Temp
|
set LOCALAPPDATA=%HOME%\AppData\Local
|
||||||
@set CommonProgramFiles=C:\Program Files\Common Files
|
set TEMP=%LOCALAPPDATA%\Temp
|
||||||
@set CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
|
set TMP=%LOCALAPPDATA%\Temp
|
||||||
@set ProgramFiles=C:\Program Files
|
|
||||||
@set ProgramFiles(x86)=C:\Program Files (x86)
|
set INCLUDE=%VCINSTALLDIR%\ATLMFC\INCLUDE;%VCINSTALLDIR%\INCLUDE
|
||||||
|
set INCLUDE=%INCLUDE%;%WindowsSdkDir%\include
|
||||||
|
set INCLUDE=%INCLUDE%;%DXSDK_DIR%\Include
|
||||||
|
set INCLUDE=%INCLUDE%;%HOME%\Dev\wxWidgets-2.9\install\include
|
||||||
|
set INCLUDE=%INCLUDE%;%HOME%\Dev\freetype-2.3.9\include
|
||||||
|
set INCLUDE=%INCLUDE%;%HOME%\Dev\portaudio\include
|
||||||
|
|
||||||
|
set Framework35Version=v3.5
|
||||||
|
set FrameworkVersion=v2.0.50727
|
||||||
|
set PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY
|
||||||
|
set Path=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64;C:\Windows\Microsoft.NET\Framework64\v3.5;C:\Windows\Microsoft.NET\Framework64\v3.5\Microsoft .NET Framework 3.5 (Pre-Release Version);C:\Windows\Microsoft.NET\Framework64\v2.0.50727;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\bin;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\x64;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\win64\x64;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin;C:\Program Files (x86)\CollabNet Subversion Server;C:\cygwin\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\TortoiseSVN\bin;C:\Python25;C:\Python25\Scripts
|
||||||
|
|
||||||
|
if /i "%2"=="Win32" goto set32
|
||||||
|
if /i "%2"=="x64" goto set64
|
||||||
|
|
||||||
|
:set32
|
||||||
|
set LIB=%VCINSTALLDIR%\ATLMFC\LIB;%VCINSTALLDIR%\LIB
|
||||||
|
set LIB=%LIB%;%WindowsSdkDir%\lib
|
||||||
|
set LIB=%LIB%;%DXSDK_DIR%\Lib\x86
|
||||||
|
set LIB=%LIB%;%HOME%\Dev\wxWidgets-2.9\install\lib32
|
||||||
|
set LIB=%LIB%;%HOME%\Dev\freetype-2.3.9\objs\win32\vc2008
|
||||||
|
set LIB=%LIB%;%HOME%\Dev\portaudio\lib
|
||||||
|
set LIB=%LIB%;%HOME%\Dev\ffms2\lib
|
||||||
|
set FrameworkDir=C:\Windows\Microsoft.NET\Framework
|
||||||
|
set LIBPATH=C:\Windows\Microsoft.NET\Framework\v3.5;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Windows\Microsoft.NET\Framework\v3.5;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB;
|
||||||
|
goto startbuild
|
||||||
|
|
||||||
|
:set64
|
||||||
|
set LIB=%VCINSTALLDIR%\ATLMFC\LIB\amd64;%VCINSTALLDIR%\LIB\amd64
|
||||||
|
set LIB=%LIB%;%WindowsSdkDir%\lib\x64
|
||||||
|
set LIB=%LIB%;%DXSDK_DIR%\Lib\x64
|
||||||
|
set LIB=%LIB%;%HOME%\Dev\wxWidgets-2.9\install\lib64
|
||||||
|
set LIB=%LIB%;%HOME%\Dev\freetype-2.3.9\objs\win32\vc2008_64
|
||||||
|
set LIB=%LIB%;%HOME%\Dev\portaudio\lib
|
||||||
|
set FrameworkDir=C:\Windows\Microsoft.NET\Framework64
|
||||||
|
set LIBPATH=C:\Windows\Microsoft.NET\Framework64\v3.5;C:\Windows\Microsoft.NET\Framework64\v2.0.50727;C:\Windows\Microsoft.NET\Framework64\v3.5;C:\Windows\Microsoft.NET\Framework64\v2.0.50727;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB\amd64;
|
||||||
|
goto startbuild
|
||||||
|
|
||||||
msbuild aegisub\tinderbox\windows\aegisub_vs2008.sln /p:Configuration=%1 /p:Platform=%2 /v:d /nologo /t:rebuild
|
msbuild aegisub\tinderbox\windows\aegisub_vs2008.sln /p:Configuration=%1 /p:Platform=%2 /v:d /nologo /t:rebuild
|
||||||
|
|
Loading…
Reference in a new issue