Some demos for building C++/C# with cmake.
Build on Windows
build.ps1
Build on Unix/Linux/Mac
. build.sh
- Install emsdk, and add
emsdk_env
to your shell. - If using windows, download ninja as wasm build tool; add
ninja.exe
folder to yourPATH
.
Build on Windows
build.ps1 wasm
Build on Unix/Linux/Mac
. build.sh wasm
ps: the wasm
parameter can be anything. you just need to provide a parameter to indicate you want a wasm build.