This are examples for all nintendo platforms using SDL2
It uses devkitPro's devkitARM and devkitA64.
It uses meson and not Makefiles o CMake (and custom cross files, not the ones, that can be generated by the toolchains, but it's based on them)
It is based on examples in switch-examples
It is based on my meson work in oopetris
You need sdl portlibs for the platform and some other portlibs, than you can build it by running:
./platforms/build-<platform>.sh
Platform | Compiles | Has ROMFS | Runs as expected |
---|---|---|---|
3ds | ✅ | ✅ | ✅ |
gamecube | ✅ | ✅ | ❌ |
wii | ✅ | ✅ | ✅ |
wiiu | ✅ | ✅ | ❌ |
switch | ✅ | ✅ | ✅ |