Libnx ported to the Nim programming language
Find a file
Joey Yakimowich-Payne 09d123cc53 Rename remove_static
2018-07-11 07:43:25 +09:00
examples Cleanup imports 2018-07-06 22:04:50 +09:00
src Add callback support to console 2018-07-08 13:35:52 +09:00
.gitignore Hide nimcache dirs 2018-07-02 21:27:27 +09:00
config.nims Add nims config files to build easily 2018-06-27 21:37:02 +09:00
libnx.nimble Add new reset section for nimgen and cleanup console 2018-07-08 13:16:22 +09:00
libnxGen.cfg Rename remove_static 2018-07-11 07:43:25 +09:00
LICENSE Initial commit 2018-06-14 16:28:02 +09:00
README.md Build from scratch to use latest libnx 2018-06-26 13:37:51 +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

# Because of a bug in nimble right now, you must install this first!
nimble install "https://github.com/jyapayne/nimgenEx#head"
nimble install

To compile examples:

nimble buildExamples

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