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

29 lines
1.0 KiB
Batchfile
Raw Normal View History

2017-03-14 07:20:30 +00:00
@echo off
2017-03-25 13:00:53 +00:00
echo tskill vcexpress
tskill vcexpress >nul 2>nul
rem this is a hack for sleep()
ping 192.0.2.1 -n 1 -w 2000 >nul
echo taskkill /t /f /im vcexpress.exe
taskkill /t /f /im vcexpress.exe >nul 2>nul
ping 192.0.2.1 -n 1 -w 2000 >nul
2017-03-14 07:20:30 +00:00
cd pkg\msvc
2017-03-25 13:00:53 +00:00
echo Setting MSVC Environment...
2017-03-14 07:20:30 +00:00
rem call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
rem del x64\Release\RetroArch-msvc2010.exe 2>nul
2017-03-25 13:00:53 +00:00
echo Appending build log...
2017-03-14 07:20:30 +00:00
echo %date% %time% >buildlog.txt
set platform=
set PLATFORM=
set tmp=
set TMP=
echo Building RetroArch...
2017-03-25 13:00:53 +00:00
echo Calling vcexpress to build project...
2017-03-14 07:20:30 +00:00
vcexpress RetroArch-msvc2010.sln /Out buildlog.txt /Rebuild "Release|x64" /Project RetroArch-msvc2010 /ProjectConfig "Release|x64"
2017-03-25 13:00:53 +00:00
echo Moving dist files...
2017-03-14 07:20:30 +00:00
move x64\Release\RetroArch-msvc2010.exe ../../retroarch.exe
move x64\Release\RetroArch-msvc2010.exe.intermediate.manifest ../../retroarch.exe.manifest
2017-03-25 13:00:53 +00:00
echo Contents of build log:
2017-03-14 07:20:30 +00:00
cat buildlog.txt
echo Build finished.