summaryrefslogtreecommitdiff
path: root/frontend/_wasm/build.sh
diff options
context:
space:
mode:
authorMatthew Kosarek <matthew.kosarek@vention.cc>2021-03-13 15:43:56 -0500
committerMatthew Kosarek <matthew.kosarek@vention.cc>2021-03-13 15:43:56 -0500
commit98d7d6cb702af2708f20e7cf16ee10a9f71b578a (patch)
tree92cec56a5a31a9658c44d49ed896ba8b7859450f /frontend/_wasm/build.sh
parent3b0514ed3a21c39b7ea1a68d2fb381c808dcfeeb (diff)
My First WASM application is rendering a triangle on the frontend
Diffstat (limited to 'frontend/_wasm/build.sh')
-rw-r--r--frontend/_wasm/build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/_wasm/build.sh b/frontend/_wasm/build.sh
new file mode 100644
index 0000000..98bf2c4
--- /dev/null
+++ b/frontend/_wasm/build.sh
@@ -0,0 +1 @@
+emcc -o output.js wasm.cpp Shader.cpp -s ALLOW_MEMORY_GROWTH=1 -s USE_WEBGL2=1 -s FULL_ES3=1 -s WASM=1 -s NO_EXIT_RUNTIME=1 \ No newline at end of file