This directory contains the native runtime.
First grab the vendor dependencies:
git submodule update --initLinux only: You'll need to install dependencies for X11 development. On Ubuntu these can be
installed with: sudo apt install libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev libxkbcommon-dev libasound2-dev libpulse-dev
Building:
cmake -B build
cmake --build buildRunning:
./build/wasm4For release builds, pass -DCMAKE_BUILD_TYPE=Release to cmake.
If you want to build only one target:
cmake --build build --target wasm4_libretro
cmake --build build --target wasm4_glfw
cmake --build build --target wasm4