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
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
rpl -e -q "Version=\"9.00\"" "Version=\"8.00\"" msvc8\*.vcproj
15
rpl -e -q "Version=\"9,00\"" "Version=\"8,00\"" msvc8\*.vcproj
16
rpl -e -q "\tTargetFrameworkVersion=\"131072\"\n" "" msvc8\*.vcproj
17
rpl -e -q "\t\t\t\tRandomizedBaseAddress=\"1\"\n" "" msvc8\*.vcproj
18
rpl -e -q "\t\t\t\tDataExecutionPrevention=\"0\"\n" "" msvc8\*.vcproj
19
rpl -e -q "Format Version 10.00" "Format Version 9.00" msvc8\*.sln
20
rpl -e -q "Format Version 10,00" "Format Version 9,00" msvc8\*.sln
21
rpl -e -q "# Visual C++ Express 2008" "# Visual C++ Express 2005" msvc8\*.sln
22
rpl -e -q "# Visual Studio 2008" "# Visual Studio 2005" msvc8\*.sln
26
echo You need the Windows version of GNU rpl
28
echo http://gnuwin32.sourceforge.net/packages/rpl.htm
29
echo Place rpl.exe from the bin folder inside the archive in the folder where
30
echo this batch file resides