Files
AdventuresInLestoria/Crawler/emscripten_build.ps1
T
2024-01-01 03:49:37 -06:00

2 lines
281 B
PowerShell

~\Documents\emsdk\emsdk_env.ps1 activate latest
em++ -std=c++20 --proxy-to-worker -fexperimental-library -O2 -s ALLOW_MEMORY_GROWTH=1 -s MAX_WEBGL_VERSION=2 -s MIN_WEBGL_VERSION=2 -s USE_LIBPNG=1 -s USE_FREETYPE=1 $(Get-ChildItem *.cpp) -s FETCH=1 -o pge.html --preload-file assets