Move iOS native libraries to iOS project (#2715)

Move iOS native libraries to iOS project

Co-authored-by: Dean Herbert <pe@ppy.sh>
This commit is contained in:
Dean Herbert
2019-08-08 19:23:19 +09:00
committed by GitHub
4 changed files with 9 additions and 1 deletions

View File

@@ -99,7 +99,7 @@
<Reference Include="mscorlib" />
</ItemGroup>
<ItemGroup>
<NativeReference Include="..\osu.Framework.NativeLibs\ios\*.a">
<NativeReference Include="..\osu.Framework.iOS\*.a">
<Kind>Static</Kind>
<SmartLink>False</SmartLink>
<ForceLoad>True</ForceLoad>

View File

@@ -35,4 +35,12 @@
<PackageReference Include="ppy.osuTK.iOS" Version="1.0.111" />
<PackageReference Include="SixLabors.ImageSharp" Version="1.0.0-beta0006" />
</ItemGroup>
<ItemGroup>
<NativeLibs Include="$(MSBuildThisFileDirectory)\*.a" />
<None Include="@(NativeLibs)">
<Pack>true</Pack>
<PackageCopyToOutput>true</PackageCopyToOutput>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>