diff options
Diffstat (limited to 'dists/msvc9_to_msvc8.bat')
-rw-r--r-- | dists/msvc9_to_msvc8.bat | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dists/msvc9_to_msvc8.bat b/dists/msvc9_to_msvc8.bat new file mode 100644 index 0000000000..751d39a897 --- /dev/null +++ b/dists/msvc9_to_msvc8.bat @@ -0,0 +1,23 @@ +@echo off +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\ +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 +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 + +:the_end
\ No newline at end of file |