-
Notifications
You must be signed in to change notification settings - Fork 0
/
Fluendo.GStreamer.Sharp.runtime.targets
executable file
·21 lines (20 loc) · 1.34 KB
/
Fluendo.GStreamer.Sharp.runtime.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Get preferred architecture and platform -->
<PropertyGroup Condition="'$(FluendoGStreamerSharpPlatform)' == ''">
<!-- 'x64' is the only supported arch -->
<FluendoGStreamerSharpArch>x64</FluendoGStreamerSharpArch>
<!-- Handle specific platform name for Windows, Linux and MacOSX -->
<FluendoGStreamerSharpPlatform Condition="$([MSBuild]::IsOSPlatform('Windows'))">win-$(FluendoGStreamerSharpArch)</FluendoGStreamerSharpPlatform>
<FluendoGStreamerSharpPlatform Condition="$([MSBuild]::IsOSPlatform('Linux'))">linux-$(FluendoGStreamerSharpArch)</FluendoGStreamerSharpPlatform>
<FluendoGStreamerSharpPlatform Condition="$([MSBuild]::IsOSPlatform('OSX'))">osx-$(FluendoGStreamerSharpArch)</FluendoGStreamerSharpPlatform>
</PropertyGroup>
<!-- Copy native libraries to output directory -->
<ItemGroup>
<None Condition="Exists('$(MSBuildThisFileDirectory)..\..\runtimes\$(FluendoGStreamerSharpPlatform)\native')"
Include="$(MSBuildThisFileDirectory)..\..\runtimes\$(FluendoGStreamerSharpPlatform)\native\**"
Link="%(RecursiveDir)%(Filename)%(Extension)"
Visible="false"
CopyToOutputDirectory="Always" />
</ItemGroup>
</Project>