Skip to content

Commit

Permalink
Fix build test projects
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancheung committed Mar 17, 2024
1 parent adae4b0 commit 7810efa
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 7 deletions.
2 changes: 1 addition & 1 deletion FreeTypeSharp.iOS.Test/FreeTypeSharp.iOS.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0-ios</TargetFramework>
<SupportedOSPlatformVersion>10.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion>11.0</SupportedOSPlatformVersion>
<RuntimeIdentifier>iossimulator-x64</RuntimeIdentifier>
<OutputType>Exe</OutputType>
<MtouchLink>SdkOnly</MtouchLink>
Expand Down
2 changes: 1 addition & 1 deletion FreeTypeSharp.iOS.Test/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>LSRequiresIPhoneOS</key>
<true/>
<key>MinimumOSVersion</key>
<string>10.0</string>
<string>11.0</string>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
Expand Down
39 changes: 34 additions & 5 deletions FreeTypeSharp/FreeTypeSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,40 @@
</PropertyGroup>

<ItemGroup>
<None Include="..\runtimes\FreeType2\win-x86\freetype.dll" Pack="true" PackagePath="runtimes\win-x86\native\"/>
<None Include="..\runtimes\FreeType2\win-x64\freetype.dll" Pack="true" PackagePath="runtimes\win-x64\native\"/>
<None Include="..\runtimes\FreeType2\win10-x64\freetype.dll" Pack="true" PackagePath="runtimes\win10-x64\native\"/>
<None Include="..\runtimes\FreeType2\linux-x64\libfreetype.so" Pack="true" PackagePath="runtimes\linux-x64\native\"/>
<None Include="..\runtimes\FreeType2\osx-x64\libfreetype.dylib" Pack="true" PackagePath="runtimes\osx-x64\native\"/>
<None Include="..\runtimes\FreeType2\win-x86\freetype.dll">
<Pack>true</Pack>
<PackagePath>runtimes\win-x86\native\</PackagePath>
<Link>runtimes\win-x86\native\freetype.dll</Link>
<CopyToOutputDirectory Condition="'$(TargetFramework)' == 'net8.0'">PreserveNewest</CopyToOutputDirectory>
</None>

<None Include="..\runtimes\FreeType2\win-x64\freetype.dll">
<Pack>true</Pack>
<PackagePath>runtimes\win-x64\native\</PackagePath>
<Link>runtimes\win-x64\native\freetype.dll</Link>
<CopyToOutputDirectory Condition="'$(TargetFramework)' == 'net8.0'">PreserveNewest</CopyToOutputDirectory>
</None>

<None Include="..\runtimes\FreeType2\win10-x64\freetype.dll">
<Pack>true</Pack>
<PackagePath>runtimes\win10-x64\native\</PackagePath>
<Link>runtimes\win10-x64\native\freetype.dll</Link>
<CopyToOutputDirectory Condition="'$(TargetFramework)' == 'net8.0'">PreserveNewest</CopyToOutputDirectory>
</None>

<None Include="..\runtimes\FreeType2\linux-x64\libfreetype.so">
<Pack>true</Pack>
<PackagePath>runtimes\linux-x64\native\</PackagePath>
<Link>runtimes\linux-x64\native\libfreetype.so</Link>
<CopyToOutputDirectory Condition="'$(TargetFramework)' == 'net8.0'">PreserveNewest</CopyToOutputDirectory>
</None>

<None Include="..\runtimes\FreeType2\osx-x64\libfreetype.dylib">
<Pack>true</Pack>
<PackagePath>runtimes\osx-x64\native\</PackagePath>
<Link>runtimes\osx-x64\native\libfreetype.dylib</Link>
<CopyToOutputDirectory Condition="'$(TargetFramework)' == 'net8.0'">PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-android'">
Expand Down

0 comments on commit 7810efa

Please sign in to comment.