Commit a84972d0 by Vicent Marti

Add premade solution for compiling in MSVC2010

Signed-off-by: Vicent Marti <tanoku@gmail.com>
parent e5fd5b94
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\blob.c" />
<ClCompile Include="..\src\block-sha1\sha1.c" />
<ClCompile Include="..\src\commit.c" />
<ClCompile Include="..\src\delta-apply.c" />
<ClCompile Include="..\src\errors.c" />
<ClCompile Include="..\src\filelock.c" />
<ClCompile Include="..\src\fileops.c" />
<ClCompile Include="..\src\hash.c" />
<ClCompile Include="..\src\hashtable.c" />
<ClCompile Include="..\src\index.c" />
<ClCompile Include="..\src\odb.c" />
<ClCompile Include="..\src\oid.c" />
<ClCompile Include="..\src\person.c" />
<ClCompile Include="..\src\repository.c" />
<ClCompile Include="..\src\revwalk.c" />
<ClCompile Include="..\src\tag.c" />
<ClCompile Include="..\src\thread-utils.c" />
<ClCompile Include="..\src\tree.c" />
<ClCompile Include="..\src\util.c" />
<ClCompile Include="..\src\win32\dir.c" />
<ClCompile Include="..\src\win32\fileops.c">
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)\fileops_w32</ObjectFileName>
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)\fileops_w32</ObjectFileName>
</ClCompile>
<ClCompile Include="..\src\win32\map.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\blob.h" />
<ClInclude Include="..\src\block-sha1\sha1.h" />
<ClInclude Include="..\src\bswap.h" />
<ClInclude Include="..\src\cc-compat.h" />
<ClInclude Include="..\src\commit.h" />
<ClInclude Include="..\src\common.h" />
<ClInclude Include="..\src\delta-apply.h" />
<ClInclude Include="..\src\dir.h" />
<ClInclude Include="..\src\errors.h" />
<ClInclude Include="..\src\filelock.h" />
<ClInclude Include="..\src\fileops.h" />
<ClInclude Include="..\src\hash.h" />
<ClInclude Include="..\src\hashtable.h" />
<ClInclude Include="..\src\index.h" />
<ClInclude Include="..\src\map.h" />
<ClInclude Include="..\src\mingw-compat.h" />
<ClInclude Include="..\src\msvc-compat.h" />
<ClInclude Include="..\src\odb.h" />
<ClInclude Include="..\src\person.h" />
<ClInclude Include="..\src\repository.h" />
<ClInclude Include="..\src\revwalk.h" />
<ClInclude Include="..\src\tag.h" />
<ClInclude Include="..\src\thread-utils.h" />
<ClInclude Include="..\src\tree.h" />
<ClInclude Include="..\src\util.h" />
</ItemGroup>
<PropertyGroup Label="Globals">
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<IncludePath>..\src;$(IncludePath)</IncludePath>
<TargetName>libgit2</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<TargetName>libgit2</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBGIT2_EXPORTS;ZLIB_WINAPI;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<TargetMachine>MachineX86</TargetMachine>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<AdditionalDependencies>zlibwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBGIT2_EXPORTS;ZLIB_WINAPI;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalIncludeDirectories>..\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<TargetMachine>MachineX86</TargetMachine>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>zlibwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
</Filter>
<Filter Include="Source Files\win32">
<UniqueIdentifier>{ed3143d9-b893-48a3-8615-fe090c1cbf25}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\blob.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\block-sha1\sha1.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\commit.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\delta-apply.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\errors.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\filelock.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\fileops.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\hash.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\hashtable.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\index.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\odb.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\oid.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\person.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\repository.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\revwalk.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\tag.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\thread-utils.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\tree.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\util.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\win32\dir.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\win32\fileops.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\win32\map.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\blob.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\block-sha1\sha1.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\bswap.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\cc-compat.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\commit.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\common.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\delta-apply.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\dir.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\errors.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\filelock.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\fileops.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\hash.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\hashtable.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\index.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\map.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\mingw-compat.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\msvc-compat.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\odb.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\person.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\repository.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\revwalk.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\tag.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\thread-utils.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\tree.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\util.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>
\ No newline at end of file

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C++ Express 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libgit2_shared", "libgit2_shared.vcxproj", "{628B5A30-A7D1-B216-C57D-F8F9D5BA019C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{628B5A30-A7D1-B216-C57D-F8F9D5BA019C}.Debug|Win32.ActiveCfg = Debug|Win32
{628B5A30-A7D1-B216-C57D-F8F9D5BA019C}.Debug|Win32.Build.0 = Debug|Win32
{628B5A30-A7D1-B216-C57D-F8F9D5BA019C}.Release|Win32.ActiveCfg = Release|Win32
{628B5A30-A7D1-B216-C57D-F8F9D5BA019C}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment