diff options
author | Filippos Karapetis | 2008-06-09 10:22:11 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-06-09 10:22:11 +0000 |
commit | 756c7a76f7b2d5bf00780c699a3824b8ea480b8a (patch) | |
tree | 9592a38dd70f054bd6e5476d760754f2dff90a9e /tools/create_drascula/dists/msvc8_to_msvc9.bat | |
parent | 3daf09c9229a66f9b625941f9d63a5e1403cf4c8 (diff) | |
download | scummvm-rg350-756c7a76f7b2d5bf00780c699a3824b8ea480b8a.tar.gz scummvm-rg350-756c7a76f7b2d5bf00780c699a3824b8ea480b8a.tar.bz2 scummvm-rg350-756c7a76f7b2d5bf00780c699a3824b8ea480b8a.zip |
Moved the MSVC solution files to /dists, added two MSVC project conversion tools (MSVC8 <-> MSVC9) and added project files for MSVC8 as well
svn-id: r32630
Diffstat (limited to 'tools/create_drascula/dists/msvc8_to_msvc9.bat')
-rw-r--r-- | tools/create_drascula/dists/msvc8_to_msvc9.bat | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tools/create_drascula/dists/msvc8_to_msvc9.bat b/tools/create_drascula/dists/msvc8_to_msvc9.bat new file mode 100644 index 0000000000..54820b34d0 --- /dev/null +++ b/tools/create_drascula/dists/msvc8_to_msvc9.bat @@ -0,0 +1,32 @@ +@echo off +rem This batch file is used to convert MSVC8 (Visual Studio 2005) project files to MSVC9 (Visual Studio 2008) 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 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\*.vcproj +rpl -e -q "Format Version 9.00" "Format Version 10.00" msvc9\*.sln +rpl -e -q "Format Version 9,00" "Format Version 10,00" msvc9\*.sln +rpl -e -q "# Visual C++ Express 2005" "# Visual C++ Express 2008" msvc9\*.sln +rpl -e -q "# Visual Studio 2005" "# Visual Studio 2008" msvc9\*.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 |