-
Notifications
You must be signed in to change notification settings - Fork 16
/
Mizux.DotnetNative.runtime.csproj.in
37 lines (33 loc) · 1.42 KB
/
Mizux.DotnetNative.runtime.csproj.in
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
@DOTNET_TFM@
<RuntimeIdentifier>@DOTNET_RID@</RuntimeIdentifier>
<AssemblyName>@DOTNET_NATIVE_LIBRARY@</AssemblyName>
<Version>@PROJECT_VERSION@</Version>
<!-- Nuget Properties -->
<Description>.NET native wrapper for the DotnetNative project</Description>
<IncludeBuildOutput>false</IncludeBuildOutput>
<!-- Pack Option -->
<Title>@DOTNET@ @DOTNET_RID@ v@PROJECT_VERSION@</Title>
<PackageId>@DOTNET_NATIVE_PROJECT@</PackageId>
<!-- Signing -->
<SignAssembly>false</SignAssembly>
<PublicSign>false</PublicSign>
<DelaySign>false</DelaySign>
</PropertyGroup>
<ItemGroup>
<!-- Native library must be in native directory... -->
<!-- If project is built as a STATIC_LIBRARY (e.g. Windows) then we don't have to include it -->
<Content Include="
$<TARGET_FILE:@DOTNET_NATIVE_LIBRARY@>
$<$<STREQUAL:$<TARGET_PROPERTY:Bar,TYPE>,SHARED_LIBRARY>:;$<TARGET_SONAME_FILE:Bar>>
$<$<STREQUAL:$<TARGET_PROPERTY:Foo,TYPE>,SHARED_LIBRARY>:;$<TARGET_SONAME_FILE:Foo>>
$<$<STREQUAL:$<TARGET_PROPERTY:FooBar,TYPE>,SHARED_LIBRARY>:;$<TARGET_SONAME_FILE:FooBar>>
">
<PackagePath>runtimes/@DOTNET_RID@/native/%(Filename)%(Extension)</PackagePath>
<Pack>true</Pack>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>