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
- Host: GitHub
- URL: https://github.com/arthursonzogni/asm-dom-cmake
- Owner: ArthurSonzogni
- License: mit
- Created: 2019-05-31T21:52:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-25T11:23:58.000Z (over 2 years ago)
- Last Synced: 2025-05-26T18:50:49.251Z (6 months ago)
- Topics: asm-dom, cmake, cpp, emscripten, virtual-dom
- Language: CMake
- Size: 12.7 KB
- Stars: 28
- Watchers: 3
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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?
[](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 .
```