Initial commit

This commit is contained in:
garrettmills
2020-05-06 00:52:12 -05:00
commit cdd8b4dc4f
23 changed files with 7804 additions and 0 deletions

12
embuild Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
emcc main.cpp --std=c++14 \
--shell-file shell_minimal.html \
--emrun \
-o hello.html \
-s NO_EXIT_RUNTIME=1 \
-s EXPORTED_FUNCTIONS="['_main', '_itest', '_str_pass_size', '_fire_event_bus']" \
-s EXTRA_EXPORTED_RUNTIME_METHODS="['cwrap', 'ccall', 'stringToUTF8', 'setValue', 'getValue', 'UTF8ToString']" \
-s WASM=1 \
-s DISABLE_EXCEPTION_CATCHING=0 \
--bind