Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/v0idzdev/emscriptentemplate
A template for Emscripten projects where C/C++ is compiled to WebAssembly.
https://github.com/v0idzdev/emscriptentemplate
Last synced: about 18 hours ago
JSON representation
A template for Emscripten projects where C/C++ is compiled to WebAssembly.
- Host: GitHub
- URL: https://github.com/v0idzdev/emscriptentemplate
- Owner: v0idzdev
- License: gpl-3.0
- Created: 2022-11-15T15:48:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-15T16:52:29.000Z (about 2 years ago)
- Last Synced: 2024-11-05T13:26:32.892Z (about 2 months ago)
- Language: Makefile
- Size: 83 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EmscriptenTemplate
A template for Emscripten projects. Emscripten is an SDK that allows you to compile C/C++ to WebAssembly.
## Using This Template
This template is for people who are experienced with C/C++ and GNU make. You should know how to extend and change this template to fit your project.
#### Installation
Clone the respository and run:
```bash
chmod +x ./install.sh
./install.sh
```
#### Compilation
```bash
source env/emsdk/emsdk_env.sh # Without this, `make` will fail.
make
```
To run the compiled webpage, go to `localhost:8000` in a web browser.
## Prerequisites
* Python 3
* Linux