2010-02-08 07:07:45 +08:00
|
|
|
|
2014-09-30 06:45:58 +08:00
|
|
|
if exist "%ProgramFiles%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" goto initialize2k8on64Dev12
|
|
|
|
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" goto initialize2k8Dev12
|
|
|
|
if exist "%ProgramFiles%\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" goto initialize2k8on64Dev11
|
|
|
|
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" goto initialize2k8Dev11
|
2014-07-22 23:50:13 +08:00
|
|
|
|
2010-02-08 07:07:45 +08:00
|
|
|
echo "Unable to detect suitable environment. Build may not succeed."
|
|
|
|
goto build
|
|
|
|
|
|
|
|
|
2013-10-06 02:59:06 +08:00
|
|
|
:initialize2k8Dev12
|
|
|
|
call "%ProgramFiles%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
|
2010-02-08 07:07:45 +08:00
|
|
|
goto build
|
|
|
|
|
2013-10-06 02:59:06 +08:00
|
|
|
:initialize2k8on64Dev12
|
|
|
|
call "%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
|
2010-02-09 03:42:53 +08:00
|
|
|
goto build
|
|
|
|
|
2012-05-05 06:32:26 +08:00
|
|
|
:initialize2k8Dev11
|
|
|
|
call "%ProgramFiles%\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86
|
|
|
|
goto build
|
|
|
|
|
|
|
|
:initialize2k8on64Dev11
|
|
|
|
call "%ProgramFiles(x86)%\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86
|
|
|
|
goto build
|
2010-02-08 07:07:45 +08:00
|
|
|
|
|
|
|
:build
|
2010-02-07 12:10:12 +08:00
|
|
|
call build
|
|
|
|
pause
|
2010-02-08 07:07:45 +08:00
|
|
|
goto end
|
|
|
|
|
|
|
|
|
|
|
|
:end
|