An open API service indexing awesome lists of open source software.

https://github.com/gpmueller/mwe-wasm-app

MWE for compiling C++ to WASM to use as backend for a Web App
https://github.com/gpmueller/mwe-wasm-app

cpp cpp17 mwe wasm

Last synced: about 2 months ago
JSON representation

MWE for compiling C++ to WASM to use as backend for a Web App

Awesome Lists containing this project

README

        

Web App using C++ compiled to WASM
=========================================================

Build
---------------------------------------------------------

For example,

```
mkdir -p build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=/usr/local/emsdk/emscripten/1.38.29/cmake/Modules/Platform/Emscripten.cmake
make -j
cd ..
```

Host
---------------------------------------------------------

For example,

```
python -m SimpleHTTPServer
```

And then open `localhost:8000`.