From 98d7d6cb702af2708f20e7cf16ee10a9f71b578a Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Sat, 13 Mar 2021 15:43:56 -0500 Subject: My First WASM application is rendering a triangle on the frontend --- frontend/_wasm/build.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 frontend/_wasm/build.sh (limited to 'frontend/_wasm/build.sh') 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 -- cgit v1.2.1