Summary: - Always launch buck build for Build, but copy native library when it was changed - Rename Facebook.Yoga.Mac.Test to Facebook.Yoga.Mac.Sample - Add Facebook.Yoga.Mac.Tests for NUnit test. - "Run Unit Tests" menu item was activated for the target, but Mono still can't find libyoga.dylib Closes https://github.com/facebook/yoga/pull/332 Reviewed By: emilsjolander Differential Revision: D4408799 Pulled By: splhack fbshipit-source-id: b3f5f9ebd8265cc152ca859176afbf54efa8f170
11 lines
646 B
XML
11 lines
646 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<CompileDependsOn>NativeLibrary;$(CompileDependsOn)</CompileDependsOn>
|
|
</PropertyGroup>
|
|
<Target Name="NativeLibrary" Outputs="$(ProjectDir)libyoga.dylib">
|
|
<Exec WorkingDirectory="$(ProjectDir)" Command="$(ProjectDir)buck-build.sh //csharp:yoganet#default,shared" />
|
|
<Copy SourceFiles="$(ProjectDir)..\..\buck-out\gen\csharp\yoganet#default,shared\libyoga.dylib" DestinationFiles="$(ProjectDir)libyoga.dylib" SkipUnchangedFiles="true" />
|
|
</Target>
|
|
</Project>
|