Basic components implementation

This commit is contained in:
2021-02-18 10:38:21 -06:00
parent cdd8b4dc4f
commit ad7fc19474
53 changed files with 17371 additions and 963 deletions

View File

@@ -1,11 +1,13 @@
#!/bin/bash
source /home/garrettmills/.clone/emsdk/emsdk_env.sh
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 EXPORTED_FUNCTIONS="['_main', '_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 \