Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create building-from-source.md #2403

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/for-contributors/building-from-source.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

## Requirements
At this time, you need Android SDK for API level 34 and 35 installed to successfully build all projects. This can be installed using `sudo dotnet workload install android` or equivalent.

## Building the solution
Silk.NET 3.0 aims to be compatible with regular `dotnet build` workflows. You can run this command on the solution, or run the Build command in your favorite IDE.

## Regenerating bindings
Bindings can be regenerated using `nuke regenerate-bindings` but this is **not reccommended** as it rebuilds all.

Execute `dotnet run --project sources/SilkTouch/SilkTouch/Silk.NET.SilkTouch.csproj -- generator.json -l Debug -s Microsoft` for a specific generator.json to rebuild a specific binding.
The Silk Touch program has more information, reachable using `dotnet run --project sources/SilkTouch/SilkTouch/Silk.NET.SilkTouch.csproj -- --help`.
Loading