Skip to content

Commit

Permalink
May have figured it out?
Browse files Browse the repository at this point in the history
  • Loading branch information
Perksey committed Oct 22, 2024
1 parent 09ab567 commit 648c07b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/nuke/Native/SilkDroid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ string AndroidHome
SourceDirectory / "Windowing" / "Silk.NET.Windowing.Sdl" / "Android" / "app-release.aar",
FileExistsPolicy.Overwrite
);
// Not expecting this to succeed, but we need to do this so we generate the bindings to go in the public API.
InheritedShell($"dotnet build \"{SourceDirectory / "Windowing" / "Silk.NET.Windowing.Sdl" / "Silk.NET.Windowing.Sdl.csproj"}\"").AssertWaitForExit();
// Update the public API.
InheritedShell(string.Format(FormatDeclCmd, SourceDirectory / "Windowing" / "Silk.NET.Windowing.Sdl" / "Silk.NET.Windowing.Sdl.csproj")).AssertZeroExitCode();
return ret;
}
Expand Down

0 comments on commit 648c07b

Please sign in to comment.