Libnx ported to the Nim programming language
Find a file
Joey Yakimowich-Payne 38c9efc2ab Change license
2018-06-20 14:42:08 +09:00
examples/helloworld Add helloworld example 2018-06-19 20:50:47 +09:00
ext Add files to make libnx 2018-06-19 20:01:43 +09:00
src Add nim.cfg for loading integer ext 2018-06-19 21:07:19 +09:00
.gitignore Initial commit 2018-06-14 16:28:02 +09:00
libnx.nimble Change license 2018-06-20 14:42:08 +09:00
libnxGen.cfg Add env vars 2018-06-20 14:34:55 +09:00
LICENSE Initial commit 2018-06-14 16:28:02 +09:00
README.md Update readme with more info 2018-06-20 07:31:59 +09:00

nim-libnx

Libnx ported to the Nim programming language. You will need a nim compiler with Nintendo switch support which can be found here until the PR is accepted.

You also must have DevkitPro and switch (libnx) libraries for Mac and Linux or Windows installed. The DEVKITPRO environment variable must also exist and point to a directory with the following structure:

  • DEVKITPRO/portlibs/switch/lib
  • DEVKITPRO/libnx/lib
  • DEVKITPRO/portlibs/switch/include
  • DEVKITPRO/libnx/include

##Install

Simply run

nimble install

and then cd into the examples folder and compile an example:

nim build <example_name>

PRs are welcome for porting other examples or any other changes!