2007-12-20 13:23:53 +00:00
|
|
|
@echo off
|
2007-12-20 13:29:52 +00:00
|
|
|
rem This batch file is used to convert MSVC9 (Visual Studio 2008) project files to MSVC8 (Visual Studio 2005) ones
|
|
|
|
rem You need the Windows version of GNU rpl
|
|
|
|
rem Get it here:
|
|
|
|
rem http://gnuwin32.sourceforge.net/packages/rpl.htm
|
|
|
|
rem Place rpl.exe from the bin folder inside the archive in the folder where
|
|
|
|
rem this batch file resides
|
|
|
|
|
2007-12-20 13:23:53 +00:00
|
|
|
if not exist rpl.exe goto no_rpl
|
|
|
|
|
|
|
|
echo Creating MSVC8 project files from the MSVC9 ones
|
|
|
|
copy /y msvc9\*.vcproj msvc8\
|
|
|
|
copy /y msvc9\*.sln msvc8\
|
2008-01-22 09:12:46 +00:00
|
|
|
rpl -e -q "Version=\"9.00\"" "Version=\"8.00\"" msvc8\*.vcproj
|
2007-12-20 13:23:53 +00:00
|
|
|
rpl -e -q "Version=\"9,00\"" "Version=\"8,00\"" msvc8\*.vcproj
|
|
|
|
rpl -e -q "\tTargetFrameworkVersion=\"131072\"\n" "" msvc8\*.vcproj
|
|
|
|
rpl -e -q "\t\t\t\tRandomizedBaseAddress=\"1\"\n" "" msvc8\scummvm.vcproj
|
|
|
|
rpl -e -q "\t\t\t\tDataExecutionPrevention=\"0\"\n" "" msvc8\scummvm.vcproj
|
|
|
|
rpl -e -q "Format Version 10.00" "Format Version 9.00" msvc8\scummvm.sln
|
2008-01-22 09:12:46 +00:00
|
|
|
rpl -e -q "Format Version 10,00" "Format Version 9,00" msvc8\scummvm.sln
|
2007-12-20 13:23:53 +00:00
|
|
|
rpl -e -q "# Visual C++ Express 2008" "# Visual C++ Express 2005" msvc8\scummvm.sln
|
|
|
|
rpl -e -q "# Visual Studio 2008" "# Visual Studio 2005" msvc8\scummvm.sln
|
|
|
|
goto the_end
|
|
|
|
|
|
|
|
:no_rpl
|
|
|
|
echo You need the Windows version of GNU rpl
|
|
|
|
echo Get it here:
|
|
|
|
echo http://gnuwin32.sourceforge.net/packages/rpl.htm
|
|
|
|
echo Place rpl.exe from the bin folder inside the archive in the folder where
|
|
|
|
echo this batch file resides
|
|
|
|
|
2007-12-20 13:29:52 +00:00
|
|
|
:the_end
|
2008-01-22 09:08:59 +00:00
|
|
|
pause
|