72 lines
3.9 KiB
Plaintext
72 lines
3.9 KiB
Plaintext
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||
|
|
||
|
<!-- if ShouldIncludeNativeHarfBuzzSharp == False then don't include the native libHarfBuzzSharp -->
|
||
|
<PropertyGroup>
|
||
|
<ShouldIncludeNativeHarfBuzzSharp Condition=" '$(ShouldIncludeNativeHarfBuzzSharp)' == '' ">True</ShouldIncludeNativeHarfBuzzSharp>
|
||
|
<_AppIsFullMac Condition=" '$(XamarinMacFrameworkRoot)' != '' and '$(TargetFrameworkIdentifier)' != 'Xamarin.Mac' and '$(UseXamMacFullFramework)' == 'True' and ('$(OutputType)' == 'Exe' or '$(IsAppExtension)' == 'True') ">True</_AppIsFullMac>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<!-- handle the case where this is a Xamarin.Mac Full app/extension -->
|
||
|
<ItemGroup Condition=" '$(ShouldIncludeNativeHarfBuzzSharp)' != 'False' and '$(_AppIsFullMac)' == 'True' ">
|
||
|
<NativeReference Include="$(MSBuildThisFileDirectory)..\..\runtimes\osx\native\libHarfBuzzSharp*.dylib">
|
||
|
<Kind>Dynamic</Kind>
|
||
|
<Visible>False</Visible>
|
||
|
</NativeReference>
|
||
|
</ItemGroup>
|
||
|
|
||
|
<!-- copy the native files to the output directory -->
|
||
|
<ItemGroup Condition=" '$(ShouldIncludeNativeHarfBuzzSharp)' != 'False' and '$(_AppIsFullMac)' != 'True' ">
|
||
|
|
||
|
<!-- Windows -->
|
||
|
<_NativeHarfBuzzSharpFile Include="$(MSBuildThisFileDirectory)..\..\runtimes\win-x86\native\libHarfBuzzSharp*.dll">
|
||
|
<Dir>x86\</Dir>
|
||
|
</_NativeHarfBuzzSharpFile>
|
||
|
<_NativeHarfBuzzSharpFile Include="$(MSBuildThisFileDirectory)..\..\runtimes\win-x64\native\libHarfBuzzSharp*.dll">
|
||
|
<Dir>x64\</Dir>
|
||
|
</_NativeHarfBuzzSharpFile>
|
||
|
<_NativeHarfBuzzSharpFile Include="$(MSBuildThisFileDirectory)..\..\runtimes\win-arm64\native\libHarfBuzzSharp*.dll">
|
||
|
<Dir>arm64\</Dir>
|
||
|
</_NativeHarfBuzzSharpFile>
|
||
|
|
||
|
<!-- Linux -->
|
||
|
<_NativeHarfBuzzSharpFile Include="$(MSBuildThisFileDirectory)..\..\runtimes\linux-x86\native\libHarfBuzzSharp*.so">
|
||
|
<Dir>x86\</Dir>
|
||
|
</_NativeHarfBuzzSharpFile>
|
||
|
<_NativeHarfBuzzSharpFile Include="$(MSBuildThisFileDirectory)..\..\runtimes\linux-x64\native\libHarfBuzzSharp*.so">
|
||
|
<Dir>x64\</Dir>
|
||
|
</_NativeHarfBuzzSharpFile>
|
||
|
<_NativeHarfBuzzSharpFile Include="$(MSBuildThisFileDirectory)..\..\runtimes\linux-arm\native\libHarfBuzzSharp*.so">
|
||
|
<Dir>arm\</Dir>
|
||
|
</_NativeHarfBuzzSharpFile>
|
||
|
<_NativeHarfBuzzSharpFile Include="$(MSBuildThisFileDirectory)..\..\runtimes\linux-arm64\native\libHarfBuzzSharp*.so">
|
||
|
<Dir>arm64\</Dir>
|
||
|
</_NativeHarfBuzzSharpFile>
|
||
|
|
||
|
<!-- Linux: Musl -->
|
||
|
<_NativeHarfBuzzSharpFile Include="$(MSBuildThisFileDirectory)..\..\runtimes\linux-musl-x86\native\libHarfBuzzSharp*.so">
|
||
|
<Dir>musl-x86\</Dir>
|
||
|
</_NativeHarfBuzzSharpFile>
|
||
|
<_NativeHarfBuzzSharpFile Include="$(MSBuildThisFileDirectory)..\..\runtimes\linux-musl-x64\native\libHarfBuzzSharp*.so">
|
||
|
<Dir>musl-x64\</Dir>
|
||
|
</_NativeHarfBuzzSharpFile>
|
||
|
<_NativeHarfBuzzSharpFile Include="$(MSBuildThisFileDirectory)..\..\runtimes\linux-musl-arm\native\libHarfBuzzSharp*.so">
|
||
|
<Dir>musl-arm\</Dir>
|
||
|
</_NativeHarfBuzzSharpFile>
|
||
|
<_NativeHarfBuzzSharpFile Include="$(MSBuildThisFileDirectory)..\..\runtimes\linux-musl-arm64\native\libHarfBuzzSharp*.so">
|
||
|
<Dir>musl-arm64\</Dir>
|
||
|
</_NativeHarfBuzzSharpFile>
|
||
|
|
||
|
<!-- macOS -->
|
||
|
<_NativeHarfBuzzSharpFile Include="$(MSBuildThisFileDirectory)..\..\runtimes\osx\native\libHarfBuzzSharp*.dylib" />
|
||
|
|
||
|
<!-- include everything -->
|
||
|
<Content Include="@(_NativeHarfBuzzSharpFile)">
|
||
|
<Link>%(Dir)%(Filename)%(Extension)</Link>
|
||
|
<Visible>False</Visible>
|
||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||
|
</Content>
|
||
|
|
||
|
</ItemGroup>
|
||
|
|
||
|
</Project>
|