Building for web using meson
This commit is contained in:
parent
66b5807368
commit
73c3e48c56
6 changed files with 74 additions and 11 deletions
19
install_emscripten.sh
Normal file
19
install_emscripten.sh
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
cd ..
|
||||
# Get the emsdk repo
|
||||
git clone https://github.com/emscripten-core/emsdk.git
|
||||
|
||||
# Enter that directory
|
||||
cd emsdk
|
||||
|
||||
# Fetch the latest version of the emsdk (not needed the first time you clone)
|
||||
git pull
|
||||
|
||||
# Download and install the latest SDK tools.
|
||||
./emsdk install latest
|
||||
|
||||
# Make the "latest" SDK "active" for the current user. (writes .emscripten file)
|
||||
./emsdk activate latest
|
||||
|
||||
# Activate PATH and other environment variables in the current terminal
|
||||
source ./emsdk_env.sh
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue