mirror of
https://github.com/libretro/libretro-super
synced 2025-02-18 21:41:00 +00:00
add msvc2005 target for RA
This commit is contained in:
parent
bb0aeb0076
commit
29ec88e1f9
1
recipes/windows/retroarch-windows-msvc2005-x86_dw2
Normal file
1
recipes/windows/retroarch-windows-msvc2005-x86_dw2
Normal file
@ -0,0 +1 @@
|
||||
|
13
recipes/windows/retroarch-windows-msvc2005-x86_dw2.conf
Normal file
13
recipes/windows/retroarch-windows-msvc2005-x86_dw2.conf
Normal file
@ -0,0 +1,13 @@
|
||||
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-msvc2005-x86.bat
|
||||
CUSTOM_BUILD_DEBUG ../retroarch-debug-build-msvc2005-x86.bat
|
1
recipes/windows/retroarch-windows-msvc2005-x86_dw2.ra
Normal file
1
recipes/windows/retroarch-windows-msvc2005-x86_dw2.ra
Normal file
@ -0,0 +1 @@
|
||||
retroarch retroarch https://github.com/libretro/Retroarch.git SUBMODULE YES .
|
29
retroarch-build-msvc2005-x86.bat
Normal file
29
retroarch-build-msvc2005-x86.bat
Normal file
@ -0,0 +1,29 @@
|
||||
@echo off
|
||||
|
||||
echo cd pkg\msvc
|
||||
cd pkg\msvc
|
||||
|
||||
rem I moved SetEnv BEFORE vcvarsall because I was getting the dreaded "\Microsoft was unexpected at this time" error and this somehow prevents it.
|
||||
rem Even after reading several hard-to-find "none of the other solutions online worked for me, but this one does" posts, still nothing worked for me.
|
||||
rem Then I got this:
|
||||
rem error MSB6001: Invalid command line switch for "VCBuild.exe". Item has already been added. Key in dictionary: 'tmp' Key being added: 'tmp'cho "C:\Program Files\Microsoft Platform SDK\SetEnv.cmd" /2000 /RETAIL
|
||||
rem The fix was to unset TMP and TEMP.
|
||||
|
||||
set TMP=
|
||||
set TEMP=
|
||||
|
||||
call "C:\Program Files\Microsoft Platform SDK\SetEnv.cmd" /2000 /RETAIL
|
||||
|
||||
echo "%ProgramFiles(x86)%\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86
|
||||
call "%ProgramFiles(x86)%\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86
|
||||
|
||||
echo msbuild RetroArch-msvc2005.sln /p:configuration=Release;platform=win32 /v:diag
|
||||
call msbuild RetroArch-msvc2005.sln /p:configuration=Release;platform=win32 /v:diag
|
||||
|
||||
echo move msvc-2005\Release\RetroArch-msvc2005.exe ..\..\retroarch.exe
|
||||
move msvc-2005\Release\RetroArch-msvc2005.exe ..\..\retroarch.exe
|
||||
|
||||
echo move msvc-2005\Release\RetroArch-msvc2005.exe.intermediate.manifest ..\..\retroarch.exe.manifest
|
||||
move msvc-2005\Release\RetroArch-msvc2005.exe.intermediate.manifest ..\..\retroarch.exe.manifest
|
||||
|
||||
echo Build finished.
|
29
retroarch-debug-build-msvc2005-x86.bat
Normal file
29
retroarch-debug-build-msvc2005-x86.bat
Normal file
@ -0,0 +1,29 @@
|
||||
@echo off
|
||||
|
||||
echo cd pkg\msvc
|
||||
cd pkg\msvc
|
||||
|
||||
rem I moved SetEnv BEFORE vcvarsall because I was getting the dreaded "\Microsoft was unexpected at this time" error and this somehow prevents it.
|
||||
rem Even after reading several hard-to-find "none of the other solutions online worked for me, but this one does" posts, still nothing worked for me.
|
||||
rem Then I got this:
|
||||
rem error MSB6001: Invalid command line switch for "VCBuild.exe". Item has already been added. Key in dictionary: 'tmp' Key being added: 'tmp'cho "C:\Program Files\Microsoft Platform SDK\SetEnv.cmd" /2000 /RETAIL
|
||||
rem The fix was to unset TMP and TEMP.
|
||||
|
||||
set TMP=
|
||||
set TEMP=
|
||||
|
||||
call "C:\Program Files\Microsoft Platform SDK\SetEnv.cmd" /2000 /RETAIL
|
||||
|
||||
echo "%ProgramFiles(x86)%\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86
|
||||
call "%ProgramFiles(x86)%\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86
|
||||
|
||||
echo msbuild RetroArch-msvc2005.sln /p:configuration=Debug;platform=win32 /v:diag
|
||||
call msbuild RetroArch-msvc2005.sln /p:configuration=Debug;platform=win32 /v:diag
|
||||
|
||||
echo move msvc-2005\Release\RetroArch-msvc2005.exe ..\..\retroarch.exe
|
||||
move msvc-2005\Release\RetroArch-msvc2005.exe ..\..\retroarch.exe
|
||||
|
||||
echo move msvc-2005\Release\RetroArch-msvc2005.exe.intermediate.manifest ..\..\retroarch.exe.manifest
|
||||
move msvc-2005\Release\RetroArch-msvc2005.exe.intermediate.manifest ..\..\retroarch.exe.manifest
|
||||
|
||||
echo Build finished.
|
Loading…
x
Reference in New Issue
Block a user