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

https://github.com/arthursonzogni/asm-dom-cmake

Virtual dom for C++ using asm-dom and cmake
https://github.com/arthursonzogni/asm-dom-cmake

asm-dom cmake cpp emscripten virtual-dom

Last synced: 5 months ago
JSON representation

Virtual dom for C++ using asm-dom and cmake

Awesome Lists containing this project

README

          

# asm-dom-cmake

Simple starter project: A web interface entirely built using C++ and cmake.

This is possible thanks to [asm-dom](https://github.com/mbasso/asm-dom) and
[gccx](https://github.com/mbasso/gccx) (JSX like syntax for C++).

* [Demo page](http://arthursonzogni.github.io/asm-dom-cmake/)
* Use only CMake (no crazy Javascript tool, only C++ :heart:)
* Self contained (cmake will download things for you)

# How to build?

[![asciicast](https://asciinema.org/a/xLGp7D6nkqgCEZoSTM7LdO5QT.svg)](https://asciinema.org/a/xLGp7D6nkqgCEZoSTM7LdO5QT)

* Make sure cmake, emscripten and npm are installed.
```sh
mkdir build
cd build
emcmake cmake ..
make
```

* Create a local server and navigate [http://localhost:6931](http://localhost:6931)
```sh
emrun .
```