Add basic Xamarin.Mac support
Summary: - Does not contain "magic" found in YogaKit yet, but enough to get started - Simple test project showing use - YGInteropSetLogger and YGNodeInit(IntPtr) were missing from native lib built by buck Closes https://github.com/facebook/yoga/pull/278 Reviewed By: emilsjolander Differential Revision: D4388480 Pulled By: splhack fbshipit-source-id: a7387bb5b5554b6fce80d08c23e4fa18a4611cce
This commit is contained in:
committed by
Facebook Github Bot
parent
e2a7938b26
commit
969b3709db
11
csharp/Mac/CustomBuildAction.targets
Normal file
11
csharp/Mac/CustomBuildAction.targets
Normal file
@@ -0,0 +1,11 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<CompileDependsOn>CopyInNativeLib;$(CompileDependsOn)</CompileDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- The # and , in this path does not play nice with the binding project logic, so make a copy -->
|
||||
<Target Name="CopyInNativeLib" Inputs="..\..\buck-out\gen\csharp\yoganet#default,shared\libyoga.dylib" Outputs="$(ProjectDir)libyoga.dylib">
|
||||
<Copy SourceFiles="..\..\buck-out\gen\csharp\yoganet#default,shared\libyoga.dylib" DestinationFiles="$(ProjectDir)/libyoga.dylib" />
|
||||
</Target>
|
||||
</Project>
|
Reference in New Issue
Block a user