aboutsummaryrefslogtreecommitdiff
path: root/Src/external_dependencies/cpr/nuget
diff options
context:
space:
mode:
Diffstat (limited to 'Src/external_dependencies/cpr/nuget')
-rw-r--r--Src/external_dependencies/cpr/nuget/build/native/libcpr.props29
-rw-r--r--Src/external_dependencies/cpr/nuget/build/native/libcpr.targets6
-rw-r--r--Src/external_dependencies/cpr/nuget/libcpr.nuspec19
-rw-r--r--Src/external_dependencies/cpr/nuget/resources/cpr.pngbin0 -> 6047 bytes
4 files changed, 54 insertions, 0 deletions
diff --git a/Src/external_dependencies/cpr/nuget/build/native/libcpr.props b/Src/external_dependencies/cpr/nuget/build/native/libcpr.props
new file mode 100644
index 00000000..ec62c503
--- /dev/null
+++ b/Src/external_dependencies/cpr/nuget/build/native/libcpr.props
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
+ ToolsVersion="15.0">
+ <PropertyGroup>
+ <LibraryType Condition="'$(Configuration)'=='Debug'">mdd</LibraryType>
+ <LibraryType Condition="'$(Configuration)'=='Release'">md</LibraryType>
+ </PropertyGroup>
+ <ItemGroup>
+ <CprLibs Include="$(MSBuildThisFileDirectory)\$(Platform)\$(Configuration)\lib\*.lib" />
+ </ItemGroup>
+ <ItemGroup>
+ <CprDlls Include="$(MSBuildThisFileDirectory)\$(Platform)\$(Configuration)\bin\*.dll" />
+ <None Include="@(CprDlls)">
+ <Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </None>
+ </ItemGroup>
+ <PropertyGroup>
+ <CprLibraries>@(CprLibs)</CprLibraries>
+ </PropertyGroup>
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)\$(Platform)\$(Configuration)\include</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <AdditionalDependencies>$(CprLibraries);%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+</Project> \ No newline at end of file
diff --git a/Src/external_dependencies/cpr/nuget/build/native/libcpr.targets b/Src/external_dependencies/cpr/nuget/build/native/libcpr.targets
new file mode 100644
index 00000000..700232bf
--- /dev/null
+++ b/Src/external_dependencies/cpr/nuget/build/native/libcpr.targets
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Target Name="PlatformCheck" BeforeTargets="InjectReference" Condition="(('$(Platform)' != 'x86') AND ('$(Platform)' != 'x64')) AND ('$(Platform)' != 'Win32'))">
+ <Error Text="$(MSBuildThisFileName) does not work correctly on this platform: '$(Platform)'. You need to specify platform x86, x64, or Win32." />
+ </Target>
+</Project> \ No newline at end of file
diff --git a/Src/external_dependencies/cpr/nuget/libcpr.nuspec b/Src/external_dependencies/cpr/nuget/libcpr.nuspec
new file mode 100644
index 00000000..e47a8c08
--- /dev/null
+++ b/Src/external_dependencies/cpr/nuget/libcpr.nuspec
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
+ <metadata>
+ <id>libcpr</id>
+ <version>$VERSION$</version>
+ <title>C++ Requests: Curl for People</title>
+ <authors>Simon Berger</authors>
+ <owners>Fabian Sauter, Kilian Traub, many other libcpr contributors</owners>
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <license type="expression">MIT</license>
+ <icon>resources/cpr.png</icon>
+ <readme>README.md</readme>
+ <projectUrl>https://github.com/libcpr</projectUrl>
+ <description>C++ Requests: Curl for People, a spiritual port of Python Requests.</description>
+ <tags>Native, native</tags>
+ <language>english</language>
+ <repository type="git" url="https://github.com/libcpr/cpr" branch="master" commit="$COMMIT_HASH$" />
+ </metadata>
+</package> \ No newline at end of file
diff --git a/Src/external_dependencies/cpr/nuget/resources/cpr.png b/Src/external_dependencies/cpr/nuget/resources/cpr.png
new file mode 100644
index 00000000..61ad7901
--- /dev/null
+++ b/Src/external_dependencies/cpr/nuget/resources/cpr.png
Binary files differ