xref: /third_party/zlib/contrib/nuget/nuget.csproj (revision 275793ea)
1275793eaSopenharmony_ci<Project Sdk="Microsoft.Build.NoTargets/3.5.6">
2275793eaSopenharmony_ci
3275793eaSopenharmony_ci  <PropertyGroup>
4275793eaSopenharmony_ci    <TargetFramework>net6.0</TargetFramework>
5275793eaSopenharmony_ci    <PackageId>madler.zlib.redist</PackageId>
6275793eaSopenharmony_ci    <PackageId Condition="$([MSBuild]::IsOSPlatform('Windows'))">$(PackageId).win</PackageId>
7275793eaSopenharmony_ci    <PackageId Condition="$([MSBuild]::IsOSPlatform('Linux'))">$(PackageId).linux</PackageId>
8275793eaSopenharmony_ci    <PackageId Condition="$([MSBuild]::IsOSPlatform('OSX'))">$(PackageId).osx</PackageId>
9275793eaSopenharmony_ci    <Copyright>(C) 1995-2024 Jean-loup Gailly and Mark Adler</Copyright>
10275793eaSopenharmony_ci    <version>1.3.1</version>
11275793eaSopenharmony_ci    <PackageDescription>NuGet Package for consuming native builds of zlib into .NET without complexity.</PackageDescription>
12275793eaSopenharmony_ci    <!--
13275793eaSopenharmony_ci        Warns about not having any lib or ref assemblies (.NET Assemblies) in those directories.
14275793eaSopenharmony_ci        Native only packages that is to be consumed in .NET should not require these.
15275793eaSopenharmony_ci    -->
16275793eaSopenharmony_ci    <NoWarn>NU5128</NoWarn>
17275793eaSopenharmony_ci    <PackageOutputPath>$(MSBuildProjectDirectory)</PackageOutputPath>
18275793eaSopenharmony_ci    <Authors>Jean-loup Gailly and Mark Adler</Authors>
19275793eaSopenharmony_ci  </PropertyGroup>
20275793eaSopenharmony_ci
21275793eaSopenharmony_ci  <ItemGroup>
22275793eaSopenharmony_ci    <None Include="../../LICENSE" Pack="true" PackagePath="" />
23275793eaSopenharmony_ci    <!-- Package up Windows builds. -->
24275793eaSopenharmony_ci    <None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/x86/ZlibDll$(Configuration)/zlibwapi.dll" Pack="true" PackagePath="runtimes/win-x86/native" />
25275793eaSopenharmony_ci    <None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/x64/ZlibDll$(Configuration)/zlibwapi.dll" Pack="true" PackagePath="runtimes/win-x64/native" />
26275793eaSopenharmony_ci    <None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/arm/ZlibDll$(Configuration)/zlibwapi.dll" Pack="true" PackagePath="runtimes/win-arm/native" />
27275793eaSopenharmony_ci    <None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/arm64/ZlibDll$(Configuration)/zlibwapi.dll" Pack="true" PackagePath="runtimes/win-arm64/native" />
28275793eaSopenharmony_ci    <!-- Include debug symbols as well as we never know if they might actually be needed in the future. -->
29275793eaSopenharmony_ci    <None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/x86/ZlibDll$(Configuration)/zlibwapi.pdb" Pack="true" PackagePath="runtimes/win-x86/native" />
30275793eaSopenharmony_ci    <None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/x64/ZlibDll$(Configuration)/zlibwapi.pdb" Pack="true" PackagePath="runtimes/win-x64/native" />
31275793eaSopenharmony_ci    <None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/arm/ZlibDll$(Configuration)/zlibwapi.pdb" Pack="true" PackagePath="runtimes/win-arm/native" />
32275793eaSopenharmony_ci    <None Condition="$([MSBuild]::IsOSPlatform('Windows'))" Include="../vstudio/vc17/arm64/ZlibDll$(Configuration)/zlibwapi.pdb" Pack="true" PackagePath="runtimes/win-arm64/native" />
33275793eaSopenharmony_ci    <!-- Package up Linux builds. -->
34275793eaSopenharmony_ci    <None Condition="$([MSBuild]::IsOSPlatform('Linux'))" Include="./linux-x86/libz.so" Pack="true" PackagePath="runtimes/linux-x86/native" />
35275793eaSopenharmony_ci    <None Condition="$([MSBuild]::IsOSPlatform('Linux'))" Include="./linux-x64/libz.so" Pack="true" PackagePath="runtimes/linux-x64/native" />
36275793eaSopenharmony_ci    <None Condition="$([MSBuild]::IsOSPlatform('Linux'))" Include="./linux-arm/libz.so" Pack="true" PackagePath="runtimes/linux-arm/native" />
37275793eaSopenharmony_ci    <None Condition="$([MSBuild]::IsOSPlatform('Linux'))" Include="./linux-arm64/libz.so" Pack="true" PackagePath="runtimes/linux-arm64/native" />
38275793eaSopenharmony_ci    <!-- Package up MacOS builds. -->
39275793eaSopenharmony_ci    <None Condition="$([MSBuild]::IsOSPlatform('OSX'))" Include="./osx-x64/libz.dylib" Pack="true" PackagePath="runtimes/osx-x64/native" />
40275793eaSopenharmony_ci    <None Condition="$([MSBuild]::IsOSPlatform('OSX'))" Include="./osx-arm64/libz.dylib" Pack="true" PackagePath="runtimes/osx-arm64/native" />
41275793eaSopenharmony_ci  </ItemGroup>
42275793eaSopenharmony_ci
43275793eaSopenharmony_ci</Project>
44