2 cd C:\MyProjects\Deps\qrencode-win32\vc8
3 if %errorlevel% NEQ 0 goto ERRORCLEANUP
4 copy C:\MyProjects\Deps\build-helpers\libqrcode.vcxproj . /Y
5 if %errorlevel% NEQ 0 goto ERRORCLEANUP
6 set VisualStudioVersion=11.0
7 call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\vcvars32.bat"
8 msbuild.exe libqrcode.vcxproj /t:clean /p:Configuration="Release" /p:Platform="Win32"
9 msbuild.exe libqrcode.vcxproj /t:clean /p:Configuration="Debug" /p:Platform="Win32"
10 msbuild.exe libqrcode.vcxproj /p:Configuration="Release" /p:Platform="Win32"
11 msbuild.exe libqrcode.vcxproj /p:Configuration="Debug" /p:Platform="Win32"
13 REM now clean and build 64 bit
14 call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86_amd64
15 msbuild.exe libqrcode.vcxproj /t:clean /p:Configuration="Release" /p:Platform="x64"
16 msbuild.exe libqrcode.vcxproj /t:clean /p:Configuration="Debug" /p:Platform="x64"
17 msbuild.exe libqrcode.vcxproj /p:Configuration="Release" /p:Platform="x64"
18 msbuild.exe libqrcode.vcxproj /p:Configuration="Debug" /p:Platform="x64"
23 echo Something went wrong, please check the directories in this batch file!