2 lines
211 B
PowerShell
2 lines
211 B
PowerShell
~\Documents\emsdk\emsdk_env.ps1 activate latest
|
|
em++ -std=c++17 -O2 -s ALLOW_MEMORY_GROWTH=1 -s MAX_WEBGL_VERSION=2 -s MIN_WEBGL_VERSION=2 -s USE_LIBPNG=1 $(Get-ChildItem *.cpp) -o pge.html --preload-file assets |