really minimal emscripten shell

adapted from 91504884e8/src/shell_minimal.html
This commit is contained in:
Jakob Hördt 2024-08-07 22:27:21 +02:00
parent 8a3913c74c
commit 47bca440d3
3 changed files with 52 additions and 2 deletions

View file

@ -1,2 +1,2 @@
#!/bin/bash
/usr/lib/emscripten/em++ -std=c++26 --use-port=sdl2 -O2 --emrun -sASSERTIONS -o index.html main.cpp
/usr/lib/emscripten/em++ -std=c++26 --use-port=sdl2 -O2 --emrun --shell-file emscripten_shell.html -sASSERTIONS -o index.html main.cpp