From 270304ab88a067909f8035e97d38bc4f01e5e9e0 Mon Sep 17 00:00:00 2001 From: yhirose Date: Tue, 18 Feb 2020 17:43:35 -0500 Subject: [PATCH] Added build.sh for wasm --- docs/build.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 docs/build.sh diff --git a/docs/build.sh b/docs/build.sh new file mode 100644 index 0000000..91b6cbb --- /dev/null +++ b/docs/build.sh @@ -0,0 +1,2 @@ +source ~/Projects/emsdk/emsdk_env.sh +emcc -std=c++11 -O3 --bind -o native.js native.cpp