-
Notifications
You must be signed in to change notification settings - Fork 112
/
ZeroMQ.targets
52 lines (40 loc) · 1.77 KB
/
ZeroMQ.targets
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<!-- Windows -->
<None Include="$(MSBuildThisFileDirectory)../amd64/libzmq.dll">
<Link>amd64/libzmq.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="$(MSBuildThisFileDirectory)../i386/libzmq.dll">
<Link>i386/libzmq.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<!-- Linux -->
<None Include="$(MSBuildThisFileDirectory)../amd64/libzmq.so">
<Link>amd64/libzmq.so</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<!-- None Include="$(MSBuildThisFileDirectory)../i386/libzmq.so">
<Link>i386/libzmq.so</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None -->
<!-- MacOS -->
<None Include="$(MSBuildThisFileDirectory)../amd64/libzmq.dylib">
<Link>amd64/libzmq.dylib</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<!-- None Include="$(MSBuildThisFileDirectory)../i386/libzmq.dylib">
<Link>i386/libzmq.dylib</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None -->
</ItemGroup>
<Target Name="FixZeroMqPackageConsumptions" BeforeTargets="CollectPackageReferences">
<ItemGroup>
<!--Force consuming this targets file in all projects that have indirect reference to this package-->
<PackageReference Update="@(PackageReference)" Condition="'%(Identity)' == '$(MSBuildThisFileName)'">
<PrivateAssets>Analyzers</PrivateAssets>
</PackageReference>
</ItemGroup>
</Target>
</Project>