Hash :
066c6977
Author :
Date :
2012-05-09T18:27:04
Allow to compile with Visual Studio 2010 For https://bugzilla.gnome.org/show_bug.cgi?id=666491 This patch adds project files to compile and debug libxml2 using Visual Studio 2010. Only few minor changes have been made to the actual source code. This patch also requires for the iconv package to be compiled with visual studio 2010 which has been submitted to the iconv project (see: https://savannah.gnu.org/bugs/?35088)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
<?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>
<PropertyGroup Label="Globals">
<ProjectGuid>{1D6039F6-5078-416F-A3AF-A36EFC7E6A1C}</ProjectGuid>
<RootNamespace>libxml2</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</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'">
<OutDir>$(ProjectDir)..\..\lib\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<IntDir>build\$(ProjectName)$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)..\..\include;$(ProjectDir)..\..\..\libiconv-1.14.vc10\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
<MinimalRebuild>false</MinimalRebuild>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\c14n.c" />
<ClCompile Include="..\..\catalog.c" />
<ClCompile Include="..\..\chvalid.c" />
<ClCompile Include="..\..\debugXML.c" />
<ClCompile Include="..\..\dict.c" />
<ClCompile Include="..\..\DOCBparser.c" />
<ClCompile Include="..\..\encoding.c" />
<ClCompile Include="..\..\entities.c" />
<ClCompile Include="..\..\error.c" />
<ClCompile Include="..\..\globals.c" />
<ClCompile Include="..\..\hash.c" />
<ClCompile Include="..\..\HTMLparser.c" />
<ClCompile Include="..\..\HTMLtree.c" />
<ClCompile Include="..\..\legacy.c" />
<ClCompile Include="..\..\list.c" />
<ClCompile Include="..\..\nanoftp.c" />
<ClCompile Include="..\..\nanohttp.c" />
<ClCompile Include="..\..\parser.c" />
<ClCompile Include="..\..\parserInternals.c" />
<ClCompile Include="..\..\pattern.c" />
<ClCompile Include="..\..\relaxng.c" />
<ClCompile Include="..\..\SAX.c" />
<ClCompile Include="..\..\SAX2.c" />
<ClCompile Include="..\..\schematron.c" />
<ClCompile Include="..\..\threads.c" />
<ClCompile Include="..\..\tree.c" />
<ClCompile Include="..\..\uri.c" />
<ClCompile Include="..\..\valid.c" />
<ClCompile Include="..\..\xinclude.c" />
<ClCompile Include="..\..\xlink.c" />
<ClCompile Include="..\..\xmlcatalog.c" />
<ClCompile Include="..\..\xmlIO.c" />
<ClCompile Include="..\..\xmlmemory.c" />
<ClCompile Include="..\..\xmlmodule.c" />
<ClCompile Include="..\..\xmlreader.c" />
<ClCompile Include="..\..\xmlregexp.c" />
<ClCompile Include="..\..\xmlsave.c" />
<ClCompile Include="..\..\xmlschemas.c" />
<ClCompile Include="..\..\xmlschemastypes.c" />
<ClCompile Include="..\..\xmlstring.c" />
<ClCompile Include="..\..\xmlunicode.c" />
<ClCompile Include="..\..\xmlwriter.c" />
<ClCompile Include="..\..\xpath.c" />
<ClCompile Include="..\..\xpointer.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\acconfig.h" />
<ClInclude Include="..\..\elfgcchack.h" />
<ClInclude Include="..\..\libxml.h" />
<ClInclude Include="config.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\libiconv-1.14.vc10\windows\VC10\iconv.vcxproj">
<Project>{bec03130-a64c-48f8-863c-52da83cfb3ae}</Project>
<Private>true</Private>
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
<LinkLibraryDependencies>true</LinkLibraryDependencies>
<UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>