https://github.com/henryquan/wasm-cmake
Compile C++ to WASM using CMake and Emscripten
https://github.com/henryquan/wasm-cmake
Last synced: 3 months ago
JSON representation
Compile C++ to WASM using CMake and Emscripten
- Host: GitHub
- URL: https://github.com/henryquan/wasm-cmake
- Owner: HenryQuan
- License: mit
- Created: 2023-06-11T05:39:20.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-11T13:27:51.000Z (almost 2 years ago)
- Last Synced: 2025-01-18T04:28:42.655Z (5 months ago)
- Language: C++
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WASM CMake
Compile C++ to WASM using CMake. Follow this [guide](https://emscripten.org/docs/getting_started/downloads.html) to setup emscripten. Read more about [WASM](https://developer.mozilla.org/en-US/docs/WebAssembly).## CMake
Use the following command to generate the build files. `emcmake` will setup environment variables for emscripten.
```terminal
cd build
emcmake cmake ..
```