You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
|
|
ago%!(EXTRA string=5 years) | |
|---|---|---|
| .. | ||
| Makefile | ago%!(EXTRA string=6 years) | |
| README.md | ago%!(EXTRA string=6 years) | |
| main.cpp | ago%!(EXTRA string=5 years) | |
| shell_minimal.html | ago%!(EXTRA string=7 years) | |
README.md
How to Build
-
You need to install Emscripten from https://emscripten.org/docs/getting_started/downloads.html, and have the environment variables set, as described in https://emscripten.org/docs/getting_started/downloads.html#installation-instructions
-
Depending on your configuration, in Windows you may need to run
emsdk/emsdk_env.batin your console to access the Emscripten command-line tools. -
Then build using
makewhile in theexample_emscripten/directory. -
Note that Emscripten 1.39.0 (October 2019) obsoleted the
BINARYEN_TRAP_MODE=clampcompilation flag which was required with version older than 1.39.0 to avoid rendering artefacts. See #2877 for details. If you use an older version, uncomment this line in the Makefile:
#EMS += -s BINARYEN_TRAP_MODE=clamp