2017-03-14 18:28:54 +00:00
|
|
|
@echo off
|
|
|
|
cd pkg\msvc
|
2017-04-11 14:43:51 +00:00
|
|
|
echo Setting MSVC Environment...
|
2017-03-14 18:28:54 +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\Debug\RetroArch-msvc2010.exe 2>nul
|
2017-04-11 14:43:51 +00:00
|
|
|
echo Appending build log...
|
2017-03-14 18:28:54 +00:00
|
|
|
echo %date% %time% >buildlog.txt
|
|
|
|
set platform=
|
|
|
|
set PLATFORM=
|
|
|
|
set tmp=
|
|
|
|
set TMP=
|
|
|
|
echo Building RetroArch...
|
2017-04-11 14:43:51 +00:00
|
|
|
call msbuild RetroArch-msvc2010.sln /p:configuration=Debug;platform=x64 /flp:LogFile=buildlog.txt;verbosity=normal;Append
|
|
|
|
echo Moving dist files...
|
2017-03-14 18:28:54 +00:00
|
|
|
move x64\Debug\RetroArch-msvc2010.exe ../../retroarch.exe
|
|
|
|
move x64\Debug\RetroArch-msvc2010.exe.intermediate.manifest ../../retroarch.exe.manifest
|
|
|
|
echo Build finished.
|