Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 544 Bytes

switch.md

File metadata and controls

23 lines (13 loc) · 544 Bytes

Nintendo Switch build

Prerequisites

  • a C++23 compatible cross compiler, we only support The devkitpro one
  • meson
  • some portlibs from devkitpro, namely sdl2, sld2_ttf, sdl2_mix.

Compiling

Cross Compiling is only possible on linux-like systems.

We use meson and cross-compilation files, everything is wrapped into shell script, so you just need to run:

./platforms/build-switch.sh 

After that you can find the runnable executable (also supports emulators) in build-switch/oopetris.nro