aboutsummaryrefslogtreecommitdiff
path: root/tools/create_lure/dists/msvc9_to_msvc8.bat
diff options
context:
space:
mode:
authorFilippos Karapetis2009-03-23 20:31:19 +0000
committerFilippos Karapetis2009-03-23 20:31:19 +0000
commit7f641cc6becc7481460d77c3e3b78a2eeb5788b0 (patch)
tree298f8eee141c24e2d764a4e0b2657ddc02ca3da1 /tools/create_lure/dists/msvc9_to_msvc8.bat
parenta3e0a879701c7b8ca9bffd642fa2414f634557b4 (diff)
downloadscummvm-rg350-7f641cc6becc7481460d77c3e3b78a2eeb5788b0.tar.gz
scummvm-rg350-7f641cc6becc7481460d77c3e3b78a2eeb5788b0.tar.bz2
scummvm-rg350-7f641cc6becc7481460d77c3e3b78a2eeb5788b0.zip
Added MSVC project files for the create_lure tool
svn-id: r39644
Diffstat (limited to 'tools/create_lure/dists/msvc9_to_msvc8.bat')
-rw-r--r--tools/create_lure/dists/msvc9_to_msvc8.bat33
1 files changed, 33 insertions, 0 deletions
diff --git a/tools/create_lure/dists/msvc9_to_msvc8.bat b/tools/create_lure/dists/msvc9_to_msvc8.bat
new file mode 100644
index 0000000000..c87a524f77
--- /dev/null
+++ b/tools/create_lure/dists/msvc9_to_msvc8.bat
@@ -0,0 +1,33 @@
+@echo off
+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
+
+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\*.vcproj
+rpl -e -q "\t\t\t\tDataExecutionPrevention=\"0\"\n" "" msvc8\*.vcproj
+rpl -e -q "Format Version 10.00" "Format Version 9.00" msvc8\*.sln
+rpl -e -q "Format Version 10,00" "Format Version 9,00" msvc8\*.sln
+rpl -e -q "# Visual C++ Express 2008" "# Visual C++ Express 2005" msvc8\*.sln
+rpl -e -q "# Visual Studio 2008" "# Visual Studio 2005" msvc8\*.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
+pause