Add c2nim generated bindings

This commit is contained in:
Joey Yakimowich-Payne 2022-12-05 20:06:16 -07:00
commit 265586cabf
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
356 changed files with 78487 additions and 395 deletions

View file

@ -16,13 +16,9 @@ if detectOs(Windows):
username = getEnv("USERNAME")
# Deps
requires "nim >= 0.18.1", "nimgen#dc9943a22c9c8f6a5a6a92f0055e1de4dfaf87d2"
requires "nim >= 1.6.6"
requires "switch_build >= 0.1.3"
task setup, "Download and generate bindings":
echo "Building libnx..."
exec prefix & "nimgen libnxGen.cfg"
task buildExamples, "Build switch examples":
if detectOs(Windows):
let devkitPath = getEnv("DEVKITPRO")