diff options
author | Filippos Karapetis | 2007-12-20 13:23:53 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-12-20 13:23:53 +0000 |
commit | cd230a4ae88b877485242ef0dd9ba17e89a0552e (patch) | |
tree | c87e3bafd2db9ce9d5e16428ed9dd8ceb4f98fa7 /dists/msvc8_to_msvc9.bat | |
parent | d53c0b9fa0cd7fa4962ced8fcaa9fc9d6b3aff55 (diff) | |
download | scummvm-rg350-cd230a4ae88b877485242ef0dd9ba17e89a0552e.tar.gz scummvm-rg350-cd230a4ae88b877485242ef0dd9ba17e89a0552e.tar.bz2 scummvm-rg350-cd230a4ae88b877485242ef0dd9ba17e89a0552e.zip |
Added batch files to convert MSVC9 project files to MSVC8 and vice versa
svn-id: r29914
Diffstat (limited to 'dists/msvc8_to_msvc9.bat')
-rw-r--r-- | dists/msvc8_to_msvc9.bat | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dists/msvc8_to_msvc9.bat b/dists/msvc8_to_msvc9.bat new file mode 100644 index 0000000000..a98c75a663 --- /dev/null +++ b/dists/msvc8_to_msvc9.bat @@ -0,0 +1,22 @@ +@echo off +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 "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 "# 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 + +: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 |