[Scummvm-cvs-logs] SF.net SVN: scummvm: [30247] tools/trunk/dist

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Jan 5 15:52:24 CET 2008


Revision: 30247
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30247&view=rev
Author:   thebluegr
Date:     2008-01-05 06:52:24 -0800 (Sat, 05 Jan 2008)

Log Message:
-----------
Added tools to create MSVC8 project files from MSVC9 ones and vice versa

Added Paths:
-----------
    tools/trunk/dist/msvc8_to_msvc9.bat
    tools/trunk/dist/msvc9_to_msvc8.bat

Added: tools/trunk/dist/msvc8_to_msvc9.bat
===================================================================
--- tools/trunk/dist/msvc8_to_msvc9.bat	                        (rev 0)
+++ tools/trunk/dist/msvc8_to_msvc9.bat	2008-01-05 14:52:24 UTC (rev 30247)
@@ -0,0 +1,29 @@
+ at 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 "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\tools.vcproj
+rpl -e -q "Format Version 9.00" "Format Version 10.00" msvc9\tools.sln
+rpl -e -q "# Visual C++ Express 2005" "# Visual C++ Express 2008" msvc9\tools.sln
+rpl -e -q "# Visual Studio 2005" "# Visual Studio 2008" msvc9\tools.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


Property changes on: tools/trunk/dist/msvc8_to_msvc9.bat
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: tools/trunk/dist/msvc9_to_msvc8.bat
===================================================================
--- tools/trunk/dist/msvc9_to_msvc8.bat	                        (rev 0)
+++ tools/trunk/dist/msvc9_to_msvc8.bat	2008-01-05 14:52:24 UTC (rev 30247)
@@ -0,0 +1,30 @@
+ at 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 "\tTargetFrameworkVersion=\"131072\"\n" "" msvc8\*.vcproj
+rpl -e -q "\t\t\t\tRandomizedBaseAddress=\"1\"\n" "" msvc8\tools.vcproj
+rpl -e -q "\t\t\t\tDataExecutionPrevention=\"0\"\n" "" msvc8\tools.vcproj
+rpl -e -q "Format Version 10.00" "Format Version 9.00" msvc8\tools.sln
+rpl -e -q "# Visual C++ Express 2008" "# Visual C++ Express 2005" msvc8\tools.sln
+rpl -e -q "# Visual Studio 2008" "# Visual Studio 2005" msvc8\tools.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


Property changes on: tools/trunk/dist/msvc9_to_msvc8.bat
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list