add more debug prints

This commit is contained in:
Brad Parker 2017-03-25 13:00:53 +00:00
parent 2f5f3959a9
commit 4508fb91b3
2 changed files with 25 additions and 11 deletions

View File

@ -1,21 +1,28 @@
@echo off
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
cd pkg\msvc
echo Setting MSVC Environment...
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
echo Appending build log...
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...
echo Calling vcexpress to build project...
vcexpress RetroArch-msvc2010.sln /Out buildlog.txt /Rebuild "Release|x64" /Project RetroArch-msvc2010 /ProjectConfig "Release|x64"
echo Moving dist files...
move x64\Release\RetroArch-msvc2010.exe ../../retroarch.exe
move x64\Release\RetroArch-msvc2010.exe.intermediate.manifest ../../retroarch.exe.manifest
echo Contents of build log:
cat buildlog.txt
echo Build finished.

View File

@ -1,20 +1,27 @@
@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
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
taskkill /t /f /im vcexpress.exe
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
cd pkg\msvc
echo Setting MSVC Environment...
call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
rem del Release\RetroArch-msvc2010.exe 2>nul
echo Appending build log...
echo %date% %time% >buildlog.txt
set platform=
set PLATFORM=
set tmp=
set TMP=
echo Building RetroArch...
echo Calling vcexpress to build project...
vcexpress RetroArch-msvc2010.sln /Out buildlog.txt /Rebuild Release
echo Moving dist files...
move Release\RetroArch-msvc2010.exe ../../retroarch.exe
move Release\RetroArch-msvc2010.exe.intermediate.manifest ../../retroarch.exe.manifest
echo Contents of build log:
cat buildlog.txt
echo Build finished.