diff options
Diffstat (limited to '3rdparty/pugixml/scripts/nuget')
3 files changed, 63 insertions, 0 deletions
diff --git a/3rdparty/pugixml/scripts/nuget/build/native/pugixml-propertiesui.xml b/3rdparty/pugixml/scripts/nuget/build/native/pugixml-propertiesui.xml new file mode 100644 index 00000000000..79876597b6e --- /dev/null +++ b/3rdparty/pugixml/scripts/nuget/build/native/pugixml-propertiesui.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework"> + <Rule Name="ReferencedPackages05032e35-86af-4ab2-a3dc-d3e348583165" PageTemplate="tool" DisplayName="Referenced Packages" SwitchPrefix="/" Order="1"> + <Rule.Categories> + <Category Name="pugixml" DisplayName="pugixml" /> + </Rule.Categories> + <Rule.DataSource> + <DataSource Persistence="ProjectFile" ItemType="" /> + </Rule.DataSource> + <EnumProperty Name="Linkage-pugixml" DisplayName="Linkage" Description="Which version of the runtime library to use for this library" Category="pugixml"> + <EnumValue Name="dynamic" DisplayName="Dynamic CRT (/MD, /MDd)" /> + <EnumValue Name="static" DisplayName="Static CRT (/MT, /MTd)" /> + </EnumProperty> + </Rule> +</ProjectSchemaDefinitions> diff --git a/3rdparty/pugixml/scripts/nuget/build/native/pugixml.targets b/3rdparty/pugixml/scripts/nuget/build/native/pugixml.targets new file mode 100644 index 00000000000..66da2433e28 --- /dev/null +++ b/3rdparty/pugixml/scripts/nuget/build/native/pugixml.targets @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup Label="Default initializers for properties"> + <Linkage-pugixml Condition="'$(Linkage-pugixml)' == ''">dynamic</Linkage-pugixml> + </PropertyGroup> + <ItemGroup> + <PropertyPageSchema Include="$(MSBuildThisFileDirectory)\pugixml-propertiesui.xml" /> + </ItemGroup> + <ItemDefinitionGroup> + <ClCompile> + <AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)include/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + </ClCompile> + <ResourceCompile> + <AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)include/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + </ResourceCompile> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="$(Configuration.ToLower().IndexOf('debug')) != -1"> + <Link> + <AdditionalDependencies>$(MSBuildThisFileDirectory)lib/$(Platform)\$(PlatformToolset.Split('_')[0])\$(Linkage-pugixml)\Debug\pugixml.lib;%(AdditionalDependencies)</AdditionalDependencies> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="$(Configuration.ToLower().IndexOf('debug')) == -1"> + <Link> + <AdditionalDependencies>$(MSBuildThisFileDirectory)lib/$(Platform)\$(PlatformToolset.Split('_')[0])\$(Linkage-pugixml)\Release\pugixml.lib;%(AdditionalDependencies)</AdditionalDependencies> + </Link> + </ItemDefinitionGroup> +</Project> diff --git a/3rdparty/pugixml/scripts/nuget/pugixml.nuspec b/3rdparty/pugixml/scripts/nuget/pugixml.nuspec new file mode 100644 index 00000000000..a767647fa5b --- /dev/null +++ b/3rdparty/pugixml/scripts/nuget/pugixml.nuspec @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd"> + <metadata> + <id>pugixml</id> + <version>1.10.0-appveyor</version> + <title>pugixml</title> + <authors>Arseny Kapoulkine</authors> + <owners>Arseny Kapoulkine</owners> + <requireLicenseAcceptance>false</requireLicenseAcceptance> + <licenseUrl>https://pugixml.org/license.html</licenseUrl> + <projectUrl>https://pugixml.org/</projectUrl> + <iconUrl>https://github.com/zeux/pugixml/logo.svg</iconUrl> + <description>pugixml is a C++ XML processing library, which consists of a DOM-like interface with rich traversal/modification capabilities, an extremely fast XML parser which constructs the DOM tree from an XML file/buffer, and an XPath 1.0 implementation for complex data-driven tree queries. Full Unicode support is also available, with Unicode interface variants and conversions between different Unicode encodings (which happen automatically during parsing/saving). +pugixml is used by a lot of projects, both open-source and proprietary, for performance and easy-to-use interface. +This package contains builds for VS2013, VS2015 and VS2017, VS2019, for both statically linked and DLL CRT; you can switch the CRT linkage in Project -> Properties -> Referenced Packages -> pugixml.</description> + <summary>Light-weight, simple and fast XML parser for C++ with XPath support</summary> + <releaseNotes>https://pugixml.org/docs/manual.html#changes</releaseNotes> + <copyright>Copyright (c) 2006-2019 Arseny Kapoulkine</copyright> + <tags>native nativepackage</tags> + </metadata> +</package> |