/sdl-wasm-demo

OpenGL+SDL Webassembly Demo

Primary LanguageHTMLMIT LicenseMIT

Build and Running Instructions

mkdir build

cd build

# Please change the `Emscripten.cmake` path accordingly to your configurations.
EMSCRIPTEN_CMAKE="/home/sajith/wasm/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake"
cmake ../ -DCMAKE_TOOLCHAIN_FILE=$EMSCRIPTEN_CMAKE

make

emrun index.html