Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 712 Bytes

File metadata and controls

36 lines (25 loc) · 712 Bytes

This directory contains the native runtime.

Building

First grab the vendor dependencies:

git submodule update --init

Linux 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 build

Running:

./build/wasm4

For 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