From 756c7a76f7b2d5bf00780c699a3824b8ea480b8a Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 9 Jun 2008 10:22:11 +0000 Subject: 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 --- tools/create_drascula/create_drascula.sln | 20 --- tools/create_drascula/create_drascula.vcproj | 190 -------------------- .../dists/msvc8/create_drascula.sln | 20 +++ .../dists/msvc8/create_drascula.vcproj | 191 ++++++++++++++++++++ tools/create_drascula/dists/msvc8_to_msvc9.bat | 32 ++++ .../dists/msvc9/create_drascula.sln | 20 +++ .../dists/msvc9/create_drascula.vcproj | 192 +++++++++++++++++++++ tools/create_drascula/dists/msvc9_to_msvc8.bat | 33 ++++ 8 files changed, 488 insertions(+), 210 deletions(-) delete mode 100644 tools/create_drascula/create_drascula.sln delete mode 100644 tools/create_drascula/create_drascula.vcproj create mode 100644 tools/create_drascula/dists/msvc8/create_drascula.sln create mode 100644 tools/create_drascula/dists/msvc8/create_drascula.vcproj create mode 100644 tools/create_drascula/dists/msvc8_to_msvc9.bat create mode 100644 tools/create_drascula/dists/msvc9/create_drascula.sln create mode 100644 tools/create_drascula/dists/msvc9/create_drascula.vcproj create mode 100644 tools/create_drascula/dists/msvc9_to_msvc8.bat diff --git a/tools/create_drascula/create_drascula.sln b/tools/create_drascula/create_drascula.sln deleted file mode 100644 index 4a39bdbe42..0000000000 --- a/tools/create_drascula/create_drascula.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "create_drascula", "create_drascula.vcproj", "{5F280130-349D-11DD-AE16-0800200C9A66}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.ActiveCfg = Debug|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.Build.0 = Debug|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.ActiveCfg = Release|Win32 - {5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/tools/create_drascula/create_drascula.vcproj b/tools/create_drascula/create_drascula.vcproj deleted file mode 100644 index 2532f8fd66..0000000000 --- a/tools/create_drascula/create_drascula.vcproj +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tools/create_drascula/dists/msvc8/create_drascula.sln b/tools/create_drascula/dists/msvc8/create_drascula.sln new file mode 100644 index 0000000000..dc7428bb80 --- /dev/null +++ b/tools/create_drascula/dists/msvc8/create_drascula.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "create_drascula", "create_drascula.vcproj", "{5F280130-349D-11DD-AE16-0800200C9A66}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.ActiveCfg = Debug|Win32 + {5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.Build.0 = Debug|Win32 + {5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.ActiveCfg = Release|Win32 + {5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/tools/create_drascula/dists/msvc8/create_drascula.vcproj b/tools/create_drascula/dists/msvc8/create_drascula.vcproj new file mode 100644 index 0000000000..3b26261a76 --- /dev/null +++ b/tools/create_drascula/dists/msvc8/create_drascula.vcproj @@ -0,0 +1,191 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 diff --git a/tools/create_drascula/dists/msvc9/create_drascula.sln b/tools/create_drascula/dists/msvc9/create_drascula.sln new file mode 100644 index 0000000000..4a39bdbe42 --- /dev/null +++ b/tools/create_drascula/dists/msvc9/create_drascula.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "create_drascula", "create_drascula.vcproj", "{5F280130-349D-11DD-AE16-0800200C9A66}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.ActiveCfg = Debug|Win32 + {5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.Build.0 = Debug|Win32 + {5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.ActiveCfg = Release|Win32 + {5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/tools/create_drascula/dists/msvc9/create_drascula.vcproj b/tools/create_drascula/dists/msvc9/create_drascula.vcproj new file mode 100644 index 0000000000..f30d6a114b --- /dev/null +++ b/tools/create_drascula/dists/msvc9/create_drascula.vcproj @@ -0,0 +1,192 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/create_drascula/dists/msvc9_to_msvc8.bat b/tools/create_drascula/dists/msvc9_to_msvc8.bat new file mode 100644 index 0000000000..c87a524f77 --- /dev/null +++ b/tools/create_drascula/dists/msvc9_to_msvc8.bat @@ -0,0 +1,33 @@ +@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 "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\*.vcproj +rpl -e -q "\t\t\t\tDataExecutionPrevention=\"0\"\n" "" msvc8\*.vcproj +rpl -e -q "Format Version 10.00" "Format Version 9.00" msvc8\*.sln +rpl -e -q "Format Version 10,00" "Format Version 9,00" msvc8\*.sln +rpl -e -q "# Visual C++ Express 2008" "# Visual C++ Express 2005" msvc8\*.sln +rpl -e -q "# Visual Studio 2008" "# Visual Studio 2005" msvc8\*.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 -- cgit v1.2.3