Summary: The C# wrapper project has been changed to a NETStandard (1.1) PCL allowing it to be consumed by any project targeting .NET4.5 or greater including .NETCore and UWP projects... The C# wrapper uses P/Invoke to call into the Native Yoga DLL... The "Yoga" C++ project has been updated to support ARM builds... Added the ability to generate nuget packages for the C# wrapper that supports copying the native DLLs to the target output directory. Closes: https://github.com/facebook/yoga/pull/283 Reviewed By: splhack, emilsjolander Differential Revision: D4381455 Pulled By: JoelMarcey fbshipit-source-id: e6dc4190caa824ac63d5d5ee2eb4c7914efbb00f
51 lines
2.6 KiB
XML
51 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup Condition=" (Exists('packages.config') Or Exists('packages.$(MSBuildProjectName).config')) And '$(Platform)' == 'AnyCPU'">
|
|
<Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\win-x86\native\*">
|
|
<Link>x86\%(Filename)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<Visible>False</Visible>
|
|
</Content>
|
|
<Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\win-x64\native\*">
|
|
<Link>x64\%(Filename)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<Visible>False</Visible>
|
|
</Content>
|
|
</ItemGroup>
|
|
<ItemGroup Condition=" (Exists('packages.config') Or Exists('packages.$(MSBuildProjectName).config')) And '$(Platform)' == 'x86'">
|
|
<Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\win-x86\lib\netstandard\*">
|
|
<Link>%(Filename)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<Visible>False</Visible>
|
|
</Content>
|
|
<Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\win-x86\native\*">
|
|
<Link>%(Filename)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<Visible>False</Visible>
|
|
</Content>
|
|
</ItemGroup>
|
|
<ItemGroup Condition=" (Exists('packages.config') Or Exists('packages.$(MSBuildProjectName).config')) And '$(Platform)' == 'x64'">
|
|
<Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\win-x64\lib\netstandard\*">
|
|
<Link>%(Filename)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<Visible>False</Visible>
|
|
</Content>
|
|
<Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\win-x64\native\*">
|
|
<Link>%(Filename)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<Visible>False</Visible>
|
|
</Content>
|
|
</ItemGroup>
|
|
<ItemGroup Condition=" (Exists('packages.config') Or Exists('packages.$(MSBuildProjectName).config')) And '$(Platform)' == 'ARM'">
|
|
<Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\win8-arm\lib\netstandard\*">
|
|
<Link>%(Filename)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<Visible>False</Visible>
|
|
</Content>
|
|
<Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\win8-arm\native\*">
|
|
<Link>%(Filename)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<Visible>False</Visible>
|
|
</Content>
|
|
</ItemGroup>
|
|
</Project> |