instructions
This commit is contained in:
parent
bf4f498080
commit
3a039a619f
@ -13,3 +13,17 @@ I added a `Makefile` to the project. A few key things here.
|
|||||||
* Doing this will also compile the c code with `O0`
|
* Doing this will also compile the c code with `O0`
|
||||||
* Any c functions you want to access from javascript must be added to `EXPORT_STRING`
|
* Any c functions you want to access from javascript must be added to `EXPORT_STRING`
|
||||||
* When you add them, you must add a `_` prefix
|
* When you add them, you must add a `_` prefix
|
||||||
|
|
||||||
|
# Install
|
||||||
|
I tested this project with `1.39.11`
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/emscripten-core/emsdk.git
|
||||||
|
cd emsdk/
|
||||||
|
git pull
|
||||||
|
./emsdk install latest
|
||||||
|
./emsdk activate latest
|
||||||
|
source ./emsdk_env.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
See https://emscripten.org/docs/getting_started/downloads.html
|
||||||
|
Loading…
x
Reference in New Issue
Block a user