Include headers to get rid of auto_ptr warnings.
[scummvm-innocent.git] / dists / msvc9_to_msvc8.bat
blobc4e4e17cb9f72ce71aaa5f0d7843b5cf310987ed
1 @echo off
2 rem This batch file is used to convert MSVC9 (Visual Studio 2008) project files to MSVC8 (Visual Studio 2005) ones
3 rem You need the Windows version of GNU rpl
4 rem Get it here:
5 rem http://gnuwin32.sourceforge.net/packages/rpl.htm
6 rem Place rpl.exe from the bin folder inside the archive in the folder where
7 rem this batch file resides
9 if not exist rpl.exe goto no_rpl
11 echo Creating MSVC8 project files from the MSVC9 ones
12 copy /y msvc9\*.vcproj msvc8\
13 copy /y msvc9\*.sln msvc8\
14 copy /y msvc9\*.vsprops msvc8\
15 rpl -e -q "Version=\"9.00\"" "Version=\"8.00\"" msvc8\*.vcproj
16 rpl -e -q "Version=\"9,00\"" "Version=\"8,00\"" msvc8\*.vcproj
17 rpl -e -q "\tTargetFrameworkVersion=\"131072\"\n" "" msvc8\*.vcproj
18 rpl -e -q "Format Version 10.00" "Format Version 9.00" msvc8\scummvm.sln
19 rpl -e -q "Format Version 10,00" "Format Version 9,00" msvc8\scummvm.sln
20 goto the_end
22 :no_rpl
23 echo You need the Windows version of GNU rpl
24 echo Get it here:
25 echo http://gnuwin32.sourceforge.net/packages/rpl.htm
26 echo Place rpl.exe from the bin folder inside the archive in the folder where
27 echo this batch file resides
29 :the_end
30 pause