From a1046bb11e9efb44d3b5b0ff7f4f8b864c0d6a38 Mon Sep 17 00:00:00 2001 From: doursse Date: Thu, 24 Jul 2008 18:26:08 +0000 Subject: [PATCH] Add Visual Studio solution and vc projects to compile Eet with Microsoft tools For those who want to try it, please read README.txt first Work from Dmitriy Mazovka. Thank you ! SVN revision: 35206 --- legacy/eet/ChangeLog | 10 +- legacy/eet/win32/MANIFEST.txt | 11 ++ legacy/eet/win32/README.txt | 8 + legacy/eet/win32/set_env.bat | 25 +++ legacy/eet/win32/vs8/eet.sln | 20 +++ legacy/eet/win32/vs8/libeet.vcproj | 239 +++++++++++++++++++++++++++++ legacy/eet/win32/vs8/start.bat | 33 ++++ 7 files changed, 345 insertions(+), 1 deletion(-) create mode 100644 legacy/eet/win32/MANIFEST.txt create mode 100644 legacy/eet/win32/README.txt create mode 100644 legacy/eet/win32/set_env.bat create mode 100644 legacy/eet/win32/vs8/eet.sln create mode 100644 legacy/eet/win32/vs8/libeet.vcproj create mode 100644 legacy/eet/win32/vs8/start.bat diff --git a/legacy/eet/ChangeLog b/legacy/eet/ChangeLog index 93c56cf556..05693490dc 100644 --- a/legacy/eet/ChangeLog +++ b/legacy/eet/ChangeLog @@ -75,4 +75,12 @@ 2008-07-24 Cedric BAIL - * Fix wrongly stored image when compressed size is bigger than uncompressed. Fix bug #523. + * Fix wrongly stored image when compressed size is bigger than + uncompressed. Fix bug #523. + +2008-07-24 Vincent Torri + + * Add Visual Studio solution and vc projects to compile Eet + with Microsoft tools. + + Written by Dmitriy Mazovka. diff --git a/legacy/eet/win32/MANIFEST.txt b/legacy/eet/win32/MANIFEST.txt new file mode 100644 index 0000000000..e1272fea35 --- /dev/null +++ b/legacy/eet/win32/MANIFEST.txt @@ -0,0 +1,11 @@ + + This folder content: + + vs8 - Visual Studio 8 project files + start.bat - batch script to start work with the solution + eet.sln - Eet MSVC solution + libeet.vcproj - libeet project + + set_env.bat - common environment startup + MANIFEST.txt - this file + README.txt - about this folder \ No newline at end of file diff --git a/legacy/eet/win32/README.txt b/legacy/eet/win32/README.txt new file mode 100644 index 0000000000..baf3060f96 --- /dev/null +++ b/legacy/eet/win32/README.txt @@ -0,0 +1,8 @@ + + This folder contains Microsoft Visual Studion projects for building Eet. + +Important: + + Do not launch manually any solutions or projects in the folder, to start + a solution run proper start.bat script, it will setup environment for + projects and will check system requirements. diff --git a/legacy/eet/win32/set_env.bat b/legacy/eet/win32/set_env.bat new file mode 100644 index 0000000000..ab862d810d --- /dev/null +++ b/legacy/eet/win32/set_env.bat @@ -0,0 +1,25 @@ +@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 Add installation directory pathes. +set INCLUDE=%EXT_DIR%\include;%INCLUDE% +set LIB=%EXT_DIR%\lib;%LIB% + +rem Add Evil lib path +set EvilInclude=%cd%\..\..\..\proto\evil\src\lib +set EvilCommon=%cd%\..\..\..\proto\evil\win32\common +set EvilOut=%cd%\..\..\..\proto\evil\win32\%PROJECT_TYPE%\out + +set INCLUDE=%EvilCommon%;%EvilInclude%;%EvilInclude%\dlfcn;%EvilInclude%\mman;%INCLUDE% +set LIB=%EvilOut%;%LIB% + +:END diff --git a/legacy/eet/win32/vs8/eet.sln b/legacy/eet/win32/vs8/eet.sln new file mode 100644 index 0000000000..24b01bb544 --- /dev/null +++ b/legacy/eet/win32/vs8/eet.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libeet", "libeet.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/eet/win32/vs8/libeet.vcproj b/legacy/eet/win32/vs8/libeet.vcproj new file mode 100644 index 0000000000..3d0c6a9868 --- /dev/null +++ b/legacy/eet/win32/vs8/libeet.vcproj @@ -0,0 +1,239 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/legacy/eet/win32/vs8/start.bat b/legacy/eet/win32/vs8/start.bat new file mode 100644 index 0000000000..7d6310992e --- /dev/null +++ b/legacy/eet/win32/vs8/start.bat @@ -0,0 +1,33 @@ +@echo off +rem Warning: environment is set for Win32 platform. + +set PROJECT_TYPE=vs8 + +pushd .. +call set_env.bat +popd + +if "%EXT_DIR%" == "" goto END + +rem Setup common Win32 environment variables + +set SolutionDirectory=%cd% +set DebugOutputDirectory=%SolutionDirectory%\out +set ReleaseOutputDirectory=%SolutionDirectory%\out +set DebugLibraryDirectory=%SolutionDirectory%\out +set ReleaseLibraryDirectory=%SolutionDirectory%\out +set TemporaryDirectory=%SolutionDirectory%\temp + +rem Check for basic requirements +if "%VS80COMNTOOLS%" == "" ( + echo ERROR: Microsoft Visual Studio 2005 is not installed. + pause + goto END +) + +rem Setting environment for using Microsoft Visual Studio 2005 x86 tools. +call "%VS80COMNTOOLS%vsvars32.bat" + +eet.sln + +:END \ No newline at end of file