cpp-peglib/docs/build.sh

4 lines
131 B
Bash
Raw Normal View History

2024-01-02 13:48:16 +00:00
#!/usr/bin/env bash
2020-02-18 22:43:35 +00:00
source ~/Projects/emsdk/emsdk_env.sh
2022-05-05 19:58:54 +00:00
emcc -std=c++17 -O3 --bind -o native.js -s ALLOW_MEMORY_GROWTH native.cpp