From f652ec2a0f0f1e8e7f3fda0fba6f9da6431137ab Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Tue, 8 Dec 2009 17:40:46 +0000 Subject: [PATCH] add Visual Studio files embryo_cc project file is missing for Visual Studio 2005 SVN revision: 44285 --- legacy/embryo/win32/MANIFEST.txt | 15 ++ legacy/embryo/win32/README.txt | 10 + legacy/embryo/win32/start.bat | 67 ++++++ legacy/embryo/win32/vs8/embryo.sln | 20 ++ legacy/embryo/win32/vs8/libembryo.vcproj | 243 +++++++++++++++++++++ legacy/embryo/win32/vs9/embryo.sln | 29 +++ legacy/embryo/win32/vs9/embryo_cc.vcproj | 259 +++++++++++++++++++++++ legacy/embryo/win32/vs9/libembryo.vcproj | 242 +++++++++++++++++++++ 8 files changed, 885 insertions(+) create mode 100644 legacy/embryo/win32/MANIFEST.txt create mode 100644 legacy/embryo/win32/README.txt create mode 100644 legacy/embryo/win32/start.bat create mode 100644 legacy/embryo/win32/vs8/embryo.sln create mode 100644 legacy/embryo/win32/vs8/libembryo.vcproj create mode 100644 legacy/embryo/win32/vs9/embryo.sln create mode 100644 legacy/embryo/win32/vs9/embryo_cc.vcproj create mode 100644 legacy/embryo/win32/vs9/libembryo.vcproj diff --git a/legacy/embryo/win32/MANIFEST.txt b/legacy/embryo/win32/MANIFEST.txt new file mode 100644 index 0000000000..f13549c72f --- /dev/null +++ b/legacy/embryo/win32/MANIFEST.txt @@ -0,0 +1,15 @@ + + This folder content: + + vs8 - Visual Studio 8 project files + embryo.sln - Embryo MSVC solution + libembryo.vcproj - libembryo project + + vs9 - Visual Studio 9 project files + embryo.sln - Embryo MSVC solution + libembryo.vcproj - libembryo project + embryo_cc.vcproj - embryo_cc project + + start.bat - batch script to start work with the solution + MANIFEST.txt - this file + README.txt - about this folder diff --git a/legacy/embryo/win32/README.txt b/legacy/embryo/win32/README.txt new file mode 100644 index 0000000000..2cc28746e0 --- /dev/null +++ b/legacy/embryo/win32/README.txt @@ -0,0 +1,10 @@ + This folder contains Microsoft Visual Studio projects and some sources for + building Embryo. + +Important: + + Do not launch manually any solutions or projects in the folder, to start + a solution run the start.bat script, it will setup environment for + projects and will check system requirements. start.bat will detect + automatically the version of Visual Studio which is installed. It + currently supports Visual Studio 2005 and 2008. diff --git a/legacy/embryo/win32/start.bat b/legacy/embryo/win32/start.bat new file mode 100644 index 0000000000..68fbf567e8 --- /dev/null +++ b/legacy/embryo/win32/start.bat @@ -0,0 +1,67 @@ +@echo off + +rem Set external libraries directory. +set EXT_DIR=%cd%\..\..\..\extern + +if not exist %EXT_DIR% ( + set EXT_DIR= + echo ERROR: External libs dir is not set. + pause + goto END +) + +rem Check for basic requirements for Visual Studio 2008 +if "%VS90COMNTOOLS%" == "" ( + echo ERROR: Microsoft Visual Studio 2008 is not installed. + pause + goto NOVS9 +) + +set PROJECT_TYPE=vs9 +set VSCOMMONTOOLS=%VS90COMNTOOLS%vsvars32.bat + +goto STARTVS + +:NOVS9 + +rem Check for basic requirements for Visual Studio 2005 +if "%VS80COMNTOOLS%" == "" ( + echo ERROR: Microsoft Visual Studio 2005 is not installed. + pause + goto END +) + +set PROJECT_TYPE=vs8 +set VSCOMMONTOOLS=%VS80COMNTOOLS%vsvars32.bat + +:STARTVS + +rem Setup common Win32 environment variables + +rem Add Evil lib path +set EvilInclude=%cd%\..\..\evil\src\lib +set EvilCommon=%cd%\..\..\evil\win32\common +set EvilOut=%cd%\..\..\evil\win32\%PROJECT_TYPE%\out + +set INCLUDE=%EvilCommon%;%EvilInclude%;%EvilInclude%\dlfcn;%INCLUDE% +set LIB=%EvilOut%;%LIB% + +rem Add installation directory pathes. +set INCLUDE=%EXT_DIR%\include;%INCLUDE% +set LIB=%EXT_DIR%\lib;%LIB% + +set INCLUDE=%cd%\common;%cd%\..\src\lib;%INCLUDE% + +set SolutionDirectory=%cd%\%PROJECT_TYPE% +set DebugOutputDirectory=%SolutionDirectory%\out +set ReleaseOutputDirectory=%SolutionDirectory%\out +set DebugLibraryDirectory=%SolutionDirectory%\out +set ReleaseLibraryDirectory=%SolutionDirectory%\out +set TemporaryDirectory=%SolutionDirectory%\temp + +rem Setting environment for using Microsoft Visual Studio x86 tools. +call "%VSCOMMONTOOLS%" + +%PROJECT_TYPE%\embryo.sln + +:END diff --git a/legacy/embryo/win32/vs8/embryo.sln b/legacy/embryo/win32/vs8/embryo.sln new file mode 100644 index 0000000000..20f40ac375 --- /dev/null +++ b/legacy/embryo/win32/vs8/embryo.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libembryo", "libembryo.vcproj", "{689B4F2B-666D-439F-9BF3-1203D813DE3F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {689B4F2B-666D-439F-9BF3-1203D813DE3F}.Debug|Win32.ActiveCfg = Debug|Win32 + {689B4F2B-666D-439F-9BF3-1203D813DE3F}.Debug|Win32.Build.0 = Debug|Win32 + {689B4F2B-666D-439F-9BF3-1203D813DE3F}.Release|Win32.ActiveCfg = Release|Win32 + {689B4F2B-666D-439F-9BF3-1203D813DE3F}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/legacy/embryo/win32/vs8/libembryo.vcproj b/legacy/embryo/win32/vs8/libembryo.vcproj new file mode 100644 index 0000000000..86cde0852d --- /dev/null +++ b/legacy/embryo/win32/vs8/libembryo.vcproj @@ -0,0 +1,243 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/legacy/embryo/win32/vs9/embryo.sln b/legacy/embryo/win32/vs9/embryo.sln new file mode 100644 index 0000000000..71e42c86fd --- /dev/null +++ b/legacy/embryo/win32/vs9/embryo.sln @@ -0,0 +1,29 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libembryo", "libembryo.vcproj", "{689B4F2B-666D-439F-9BF3-1203D813DE3F}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "embryo_cc", "embryo_cc.vcproj", "{FBAF823B-A9D5-400F-98E6-AB5EDD444C11}" + ProjectSection(ProjectDependencies) = postProject + {689B4F2B-666D-439F-9BF3-1203D813DE3F} = {689B4F2B-666D-439F-9BF3-1203D813DE3F} + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {689B4F2B-666D-439F-9BF3-1203D813DE3F}.Debug|Win32.ActiveCfg = Debug|Win32 + {689B4F2B-666D-439F-9BF3-1203D813DE3F}.Debug|Win32.Build.0 = Debug|Win32 + {689B4F2B-666D-439F-9BF3-1203D813DE3F}.Release|Win32.ActiveCfg = Release|Win32 + {689B4F2B-666D-439F-9BF3-1203D813DE3F}.Release|Win32.Build.0 = Release|Win32 + {FBAF823B-A9D5-400F-98E6-AB5EDD444C11}.Debug|Win32.ActiveCfg = Debug|Win32 + {FBAF823B-A9D5-400F-98E6-AB5EDD444C11}.Debug|Win32.Build.0 = Debug|Win32 + {FBAF823B-A9D5-400F-98E6-AB5EDD444C11}.Release|Win32.ActiveCfg = Release|Win32 + {FBAF823B-A9D5-400F-98E6-AB5EDD444C11}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/legacy/embryo/win32/vs9/embryo_cc.vcproj b/legacy/embryo/win32/vs9/embryo_cc.vcproj new file mode 100644 index 0000000000..6aa5ea60dc --- /dev/null +++ b/legacy/embryo/win32/vs9/embryo_cc.vcproj @@ -0,0 +1,259 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/legacy/embryo/win32/vs9/libembryo.vcproj b/legacy/embryo/win32/vs9/libembryo.vcproj new file mode 100644 index 0000000000..97eb1b9e66 --- /dev/null +++ b/legacy/embryo/win32/vs9/libembryo.vcproj @@ -0,0 +1,242 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +