Skip to content

Repository contains the working examples of web assembly using C++/emscripten

License

Notifications You must be signed in to change notification settings

Anil8753/WASMDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository contains the working examples of web assembly using C++/emscripten. Each example is a seperate working cmake project. Run the followings command to run the examples.

Setup environment

  1. open bash

  2. go to emsdk directory and followings run command

    ./emsdk activate latest

    source ./emsdk_env.sh

Build setup

  1. create directory 'build'

    mkdir build

    cd build

  2. configure cmake

    emconfigure cmake ..

  3. build the source to wasm

    emmake make

  4. go to the web directory and start the python server by running server.py

  5. open browser and launch url http://localhost:8000/

About

Repository contains the working examples of web assembly using C++/emscripten

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published