libretro-super/retroarch-build-msvc2010-x86.bat

21 lines
675 B
Batchfile

@echo off
cd pkg\msvc
call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
rem del Release\RetroArch-msvc2010.exe 2>nul
echo %date% %time% >buildlog.txt
tskill vcexpress 2>nul
rem this is a hack for sleep()
ping 192.0.2.1 -n 1 -w 2000 >nul
taskkill /t /f /im vcexpress.exe
ping 192.0.2.1 -n 1 -w 2000 >nul
set platform=
set PLATFORM=
set tmp=
set TMP=
echo Building RetroArch...
vcexpress RetroArch-msvc2010.sln /Out buildlog.txt /Rebuild Release
move Release\RetroArch-msvc2010.exe ../../retroarch.exe
move Release\RetroArch-msvc2010.exe.intermediate.manifest ../../retroarch.exe.manifest
cat buildlog.txt
echo Build finished.