Experimentation on web assembly bindings for C++ for computational geometry operations.
Loading WASM requires running a webserver. You can't just open the index.html
in a web browser.
Run a simple Nginx web server in the current directory with
./nginx.sh
and navigate to http://localhost:8080 to view the project in your browser.
Using the emscripten/emsdk:latest
Docker image:
./build.sh
Natively:
emcmake cmake -B ./build/ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON .
cmake --build ./build/