mirror of
https://github.com/libretro/libretro-super.git
synced 2024-11-22 23:40:30 +00:00
msvc2005: unset platform var for debug build too, remove bad paste in comment
This commit is contained in:
parent
10a1bcd30e
commit
cb52a10520
@ -6,7 +6,7 @@ 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 error MSB6001: Invalid command line switch for "VCBuild.exe". Item has already been added. Key in dictionary: 'tmp' Key being added: 'tmp'
|
||||
rem The fix was to unset TMP and TEMP.
|
||||
|
||||
set TMP=
|
||||
|
@ -12,6 +12,9 @@ rem The fix was to unset TMP and TEMP.
|
||||
set TMP=
|
||||
set TEMP=
|
||||
|
||||
rem MSVC uses the platform variable which conflicts with our build system, so unset it temporarily
|
||||
set platform=
|
||||
|
||||
call "C:\Program Files\Microsoft Platform SDK\SetEnv.cmd" /2000 /RETAIL
|
||||
|
||||
echo "%ProgramFiles(x86)%\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86
|
||||
|
Loading…
Reference in New Issue
Block a user