This repository has been archived by the owner on Sep 22, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Arnavion
committed
Jun 11, 2016
1 parent
de43592
commit ec7db38
Showing
9 changed files
with
62 additions
and
486 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,66 +1,68 @@ | |||
* Download [libxml2 2.9.3](ftp://xmlsoft.org/libxml2/libxml2-2.9.3.tar.gz) | * Download [libxml2 2.9.3](ftp://xmlsoft.org/libxml2/libxml2-2.9.4.tar.gz) | ||
* Copy win32\VC10 to win32\VC12 | * Copy `win32\VC10` to `win32\VC14` | ||
* Remove the `iconv` project and its references from `win32\VC12\libxml2.sln`, `win32\VC12\libxml2.vcxproj` and `win32\VC12\runsuite.vcxproj` | * In `libxml2.vcxproj`: | ||
* Open `win32\VC12\libxml2.sln` with VS | * Add | ||
* Add x64 configuration | ``` | ||
* For the `libxml2` and `runsuite` projects: | <ProjectConfiguration Include="Release|x64"> | ||
* Set `<AdditionalIncludeDirectories>' to `$(ProjectDir);$(ProjectDir)..\..\include;$(ProjectDir)..\..\include;$(ProjectDir)..\..\..\..\..\gtk\$(Platform)\include;%(AdditionalIncludeDirectories)` | <Configuration>Release</Configuration> | ||
* Add `<DisableSpecificWarnings>4996</DisableSpecificWarnings>` | <Platform>x64</Platform> | ||
* For the `libxml2` project: | </ProjectConfiguration> | ||
* Change _Configuration Type_ to _Dynamic Library (.dll)_ under _Configuration Properties_ `->` _General_ | ``` | ||
* Set `<AdditionalLibraryDirectories>` to `..\..\..\..\..\gtk\$(Platform)\lib` | * Add `<PlatformToolset>v140</PlatformToolset>` to all `<PropertyGroup>` elements that have `Label="Configuration"` | ||
* Set `<AdditionalDependencies>` to `ws2_32.lib;iconv.lib` | * Replace `<ConfigurationType>Application</ConfigurationType>` with `<ConfigurationType>DynamicLibrary</ConfigurationType>` | ||
* Add | |||
``` | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
</ImportGroup> | |||
``` | |||
* Add `<Import Project="..\..\..\stack.props" />` | |||
* Replace | * Replace | ||
``` | ``` | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<OutDir>$(ProjectDir)..\..\lib\</OutDir> | <OutDir>$(ProjectDir)..\..\lib\</OutDir> | ||
</PropertyGroup> | </PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<IntDir>build\$(ProjectName)$(Configuration)\</IntDir> | <IntDir>build\$(ProjectName)$(Configuration)\</IntDir> | ||
</PropertyGroup> | |||
``` | |||
with | |||
``` | |||
<PropertyGroup> | |||
<OutDir>$(ProjectDir)..\..\lib\</OutDir> | |||
<IntDir>build\$(ProjectName)$(Configuration)\</IntDir> | |||
</PropertyGroup> | |||
``` | |||
* Add to libxml2.vcxproj.filters: | |||
``` | |||
<ClCompile Include="..\..\buf.c"> | |||
<Filter>Source Files</Filter> | |||
</ClCompile> | |||
``` | |||
* For the `runsuites` project: | |||
* Replace | |||
``` | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |||
<OutDir>$(ProjectDir)..\..\lib\</OutDir> | |||
<IntDir>build\$(ProjectName)$(Configuration)\</IntDir> | |||
</PropertyGroup> | </PropertyGroup> | ||
``` | ``` | ||
with | with | ||
``` | ``` | ||
<PropertyGroup> | <PropertyGroup> | ||
<OutDir>$(ProjectDir)..\..\lib\</OutDir> | <OutDir>$(ProjectDir)..\..\lib\</OutDir> | ||
<IntDir>build\$(ProjectName)$(Configuration)\</IntDir> | <IntDir>build\$(ProjectName)$(Configuration)\</IntDir> | ||
</PropertyGroup> | </PropertyGroup> | ||
``` | ``` | ||
* In `win32\VC12\config.h` | * Remove all `<Optimization>` elements | ||
* Add `<DisableSpecificWarnings>4996</DisableSpecificWarnings>` | |||
* In the `<ItemDefinitionGroup>` elements' `<Link>` tags for `Release|Win32` and `Release|x64`: | |||
* Under `<Compile>`, add: | |||
``` | |||
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)..\..\include;$(ProjectDir)..\..\include;$(ProjectDir)..\..\..\..\..\gtk\$(Platform)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<DisableSpecificWarnings>4996</DisableSpecificWarnings> | |||
``` | |||
* Under `<Link>`, add: | |||
``` | |||
<AdditionalLibraryDirectories>..\..\..\..\..\gtk\$(Platform)\lib;$(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | |||
<AdditionalDependencies>ws2_32.lib;iconv.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
``` | |||
* Remove | |||
``` | |||
<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> | |||
``` | |||
* In `win32\VC14\config.h` | |||
* Add | * Add | ||
``` | ``` | ||
#define SEND_ARG2_CAST | #define SEND_ARG2_CAST | ||
#define GETHOSTBYNAME_ARG_CAST | #define GETHOSTBYNAME_ARG_CAST | ||
``` | ``` | ||
* Replace | |||
``` | |||
#define snprintf _snprintf | |||
``` | |||
with | |||
``` | |||
#if _MSC_VER < 1900 | |||
#define snprintf _snprintf | |||
#endif | |||
``` | |||
* Add `#undef LIBXML_LZMA_ENABLED` | * Add `#undef LIBXML_LZMA_ENABLED` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.