Add Nintendo Switch support (including gitlab-ci, gitlab-pages etc.)

This commit is contained in:
Romain Graillot
2019-04-28 10:47:54 +02:00
parent 5d9aa6f969
commit d36e59ca9c
21 changed files with 607 additions and 7 deletions

View File

@@ -121,6 +121,18 @@ To compile a gp2x executable, type
make GP2XCROSS=1
This will only work on an UNIXsystem (Linux or FreeBSD).
== switch ==
To build for Nintendo Switch, you have to install devkitA64 and the following dependencies using dkp-pacman:
devkit-env libnx switch-tools switch-sdl2 switch-sdl2_ttf switch-sdl2_image switch-zlib
switch-bzip2 switch-libpng switch-libjpeg-turbo switch-freetype
see https://devkitpro.org/wiki/devkitPro_pacman
To compile a switch executable, type
make SWITCH=1
== Windows ==
It is also possible to compile from linux, with this command :