forked from enlightenment/efl
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
This commit is contained in:
parent
0bc826dd70
commit
a1046bb11e
|
@ -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.
|
||||
|
|
|
@ -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
|
|
@ -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.
|
|
@ -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
|
|
@ -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
|
|
@ -0,0 +1,239 @@
|
|||
<?xml version="1.0" encoding="windows-1251"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8,00"
|
||||
Name="libeet"
|
||||
ProjectGUID="{689B4F2B-666D-439F-9BF3-1203D813DE3F}"
|
||||
RootNamespace="libeet"
|
||||
Keyword="Win32Proj"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="$(DebugOutputDirectory)"
|
||||
IntermediateDirectory="$(TemporaryDirectory)\$(TargetName)\$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="$(INCLUDE)"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;EFL_EET_BUILD;DLL_EXPORT;HAVE_EVIL;__CRT_INLINE=static;inline=__inline;snprintf=_snprintf_c;EET_OLD_EET_FILE_FORMAT"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="4"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="false"
|
||||
LinkLibraryDependencies="true"
|
||||
AdditionalDependencies="zlib.lib jpeg.lib wsock32.lib libmman.lib libevil.lib"
|
||||
OutputFile="$(OutDir)\libeet.dll"
|
||||
LinkIncremental="2"
|
||||
AdditionalLibraryDirectories="$(LIB); $(DebugLibraryDirectory)"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="2"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="$(ReleaseOutputDirectory)"
|
||||
IntermediateDirectory="$(TemporaryDirectory)\$(TargetName)\$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
CharacterSet="1"
|
||||
WholeProgramOptimization="1"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories="$(INCLUDE)"
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;EFL_EET_BUILD;DLL_EXPORT;HAVE_EVIL;__CRT_INLINE=static;inline=__inline;snprintf=_snprintf_c;EET_OLD_EET_FILE_FORMAT"
|
||||
RuntimeLibrary="2"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="3"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
DebugInformationFormat="3"
|
||||
CompileAs="0"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManagedResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="false"
|
||||
LinkLibraryDependencies="true"
|
||||
AdditionalDependencies="zlib.lib jpeg.lib wsock32.lib libmman.lib libevil.lib"
|
||||
OutputFile="$(OutDir)\libeet.dll"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="$(LIB); $(ReleaseLibraryDirectory)"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="2"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCBscMakeTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\src\lib\eet_data.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\lib\eet_dictionary.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\lib\eet_image.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\lib\eet_lib.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\lib\eet_memfile.c"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\lib\eet_utils.c"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\src\lib\Eet.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\lib\Eet_private.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Resource Files"
|
||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
|
||||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
||||
>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
|
@ -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
|
Loading…
Reference in New Issue