diff --git a/recipes/windows/retroarch-windows-msvc2010-x64_seh b/recipes/windows/retroarch-windows-msvc2010-x64_seh new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/recipes/windows/retroarch-windows-msvc2010-x64_seh @@ -0,0 +1 @@ + diff --git a/recipes/windows/retroarch-windows-msvc2010-x64_seh.conf b/recipes/windows/retroarch-windows-msvc2010-x64_seh.conf new file mode 100644 index 00000000..415dd41f --- /dev/null +++ b/recipes/windows/retroarch-windows-msvc2010-x64_seh.conf @@ -0,0 +1,11 @@ +PATH /mingw64/lib/ccache/bin:/mingw64/bin +MSYSTEM MINGW64 +platform MINGW64 +PLATFORM windows +ARCH x86_64 +MAKE make +CC /mingw64/bin/gcc +CXX /mingw64/bin/g++ +CONFIGURE echo +RA YES +CUSTOM_BUILD ../retroarch-build-msvc2010-x64.bat diff --git a/recipes/windows/retroarch-windows-msvc2010-x64_seh.ra b/recipes/windows/retroarch-windows-msvc2010-x64_seh.ra new file mode 100644 index 00000000..85a983bf --- /dev/null +++ b/recipes/windows/retroarch-windows-msvc2010-x64_seh.ra @@ -0,0 +1 @@ +retroarch retroarch https://github.com/libretro/Retroarch.git SUBMODULE YES . diff --git a/recipes/windows/retroarch-windows-msvc2010-x86_dw2 b/recipes/windows/retroarch-windows-msvc2010-x86_dw2 new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/recipes/windows/retroarch-windows-msvc2010-x86_dw2 @@ -0,0 +1 @@ + diff --git a/recipes/windows/retroarch-windows-msvc2010-x86_dw2.conf b/recipes/windows/retroarch-windows-msvc2010-x86_dw2.conf new file mode 100644 index 00000000..9056a2f6 --- /dev/null +++ b/recipes/windows/retroarch-windows-msvc2010-x86_dw2.conf @@ -0,0 +1,12 @@ +PATH /mingw32/lib/ccache/bin:/mingw32/bin +MSYSTEM MINGW32 +platform MINGW32 +PLATFORM windows +ARCH x86 +MAKE make +CC gcc +CXX g++ +CXX11 g++ +CONFIGURE echo +RA YES +CUSTOM_BUILD ../retroarch-build-msvc2010-x86.bat diff --git a/recipes/windows/retroarch-windows-msvc2010-x86_dw2.ra b/recipes/windows/retroarch-windows-msvc2010-x86_dw2.ra new file mode 100644 index 00000000..85a983bf --- /dev/null +++ b/recipes/windows/retroarch-windows-msvc2010-x86_dw2.ra @@ -0,0 +1 @@ +retroarch retroarch https://github.com/libretro/Retroarch.git SUBMODULE YES . diff --git a/retroarch-build-msvc2010-x64.bat b/retroarch-build-msvc2010-x64.bat new file mode 100644 index 00000000..5fc7bb74 --- /dev/null +++ b/retroarch-build-msvc2010-x64.bat @@ -0,0 +1,16 @@ +@echo off +cd pkg\msvc +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 %date% %time% >buildlog.txt +tskill vcexpress 2>nul +set platform= +set PLATFORM= +set tmp= +set TMP= +echo Building RetroArch... +vcexpress RetroArch-msvc2010.sln /Out buildlog.txt /Rebuild "Release|x64" /Project RetroArch-msvc2010 /ProjectConfig "Release|x64" +move x64\Release\RetroArch-msvc2010.exe ../../retroarch.exe +cat buildlog.txt +echo Build finished. diff --git a/retroarch-build-msvc2010-x86.bat b/retroarch-build-msvc2010-x86.bat new file mode 100644 index 00000000..f70ab86a --- /dev/null +++ b/retroarch-build-msvc2010-x86.bat @@ -0,0 +1,15 @@ +@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 +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 +cat buildlog.txt +echo Build finished.