aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dists/msvc8_to_msvc9.bat2
-rw-r--r--dists/msvc9_to_msvc8.bat2
2 files changed, 4 insertions, 0 deletions
diff --git a/dists/msvc8_to_msvc9.bat b/dists/msvc8_to_msvc9.bat
index be92e6aabd..b8d62b9244 100644
--- a/dists/msvc8_to_msvc9.bat
+++ b/dists/msvc8_to_msvc9.bat
@@ -11,10 +11,12 @@ if not exist rpl.exe goto no_rpl
echo Creating MSVC9 project files from the MSVC8 ones
copy /y msvc8\*.vcproj msvc9\
copy /y msvc8\*.sln msvc9\
+rpl -e -q "Version=\"8.00\"" "Version=\"9.00\"" msvc9\*.vcproj
rpl -e -q "Version=\"8,00\"" "Version=\"9,00\"" msvc9\*.vcproj
rpl -e -q "Keyword=\"Win32Proj\"" "Keyword=\"Win32Proj\"\n\tTargetFrameworkVersion=\"131072\"" msvc9\*.vcproj
rpl -e -q "EntryPointSymbol=\"WinMainCRTStartup\"" "EntryPointSymbol=\"WinMainCRTStartup\"\n\t\t\t\tRandomizedBaseAddress=\"1\"\n\t\t\t\tDataExecutionPrevention=\"0\"" msvc9\scummvm.vcproj
rpl -e -q "Format Version 9.00" "Format Version 10.00" msvc9\scummvm.sln
+rpl -e -q "Format Version 9,00" "Format Version 10,00" msvc9\scummvm.sln
rpl -e -q "# Visual C++ Express 2005" "# Visual C++ Express 2008" msvc9\scummvm.sln
rpl -e -q "# Visual Studio 2005" "# Visual Studio 2008" msvc9\scummvm.sln
goto the_end
diff --git a/dists/msvc9_to_msvc8.bat b/dists/msvc9_to_msvc8.bat
index a8035483f8..39fab8bc4a 100644
--- a/dists/msvc9_to_msvc8.bat
+++ b/dists/msvc9_to_msvc8.bat
@@ -11,11 +11,13 @@ 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 "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 "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