Skip to content

NintendoSwitch

xfangfang edited this page Feb 19, 2025 · 1 revision

Building the demo for Switch

To build for Switch, a standard development environment must first be set up. In order to do so, refer to the Getting Started guide.

# 1. OpenGL
cmake -B build_switch -DPLATFORM_SWITCH=ON
make -C build_switch borealis_demo.nro -j$(nproc)

# 2. deko3d
cmake -B build_switch -DPLATFORM_SWITCH=ON -DUSE_DEKO3D=ON
make -C build_switch borealis_demo.nro -j$(nproc)

Clone this wiki locally