<?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.a">
        <Exec WorkingDirectory="$(ProjectDir)" Command="$(ProjectDir)../../build-native.sh" />
        <Copy SourceFiles="$(ProjectDir)..\..\..\buck-out\gen\csharp\yoganet-ios\libyoga.a" DestinationFiles="$(ProjectDir)libyoga.a" SkipUnchangedFiles="true" />
    </Target>
</Project>
