Files
yoga/csharp/Facebook.Yoga/mac/CustomBuildAction.targets
Chris Hamons 05ab9be814 Add basic Xamarin.Mac support
- Does not contain "magic" found in YogaKit yet, but enough to get started
- Simple test project showing use
2016-12-08 09:44:19 -06:00

12 lines
581 B
XML

<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\yoga#default,static\libyoga.a" Outputs="$(ProjectDir)libyoga.a">
<Copy SourceFiles="..\..\..\buck-out\gen\yoga#default,static\libyoga.a" DestinationFiles="$(ProjectDir)/libyoga.a" />
</Target>
</Project>