brew install emscripten cmake ninja
To build this project, make sure to have CMake installed locally.
mkdir build
cmake -B ./build
cmake --build ./build
mkdir build
emcmake cmake -B ./build-web -DPLATFORM=Web -DCMAKE_BUILD_TYPE=Release
cmake --build ./build-web
./build/raylib_gamejam_template
- or -
emrun ./build-web/raylib_gamejam_template.html