iwatake2222 / wasm_emscripten_test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

How to Build

It's just for build and test in local environment

sudo service docker start
docker pull emscripten/emsdk:3.1.1

docker create  -v /mnt/c/iwatake/devel:/root/devel -v /etc/localtime:/etc/localtime:ro -e DISPLAY="192.168.1.2:0"  -w /root/ -p 8888:8888 -it --name=emscripten_01 emscripten/emsdk:3.1.1
docker start emscripten_01
docker exec -it emscripten_01 bash

mkdir build && cd build
emcmake cmake ..
make

or

sudo service docker start
docker pull emscripten/emsdk:3.1.1

docker run \
  --rm \
  -v $(pwd):/src \
  -u $(id -u):$(id -g) \
  emscripten/emsdk:3.1.1 \
  sh ./build_emscripten.sh

How to deploy

About


Languages

Language:CMake 56.2%Language:C++ 41.4%Language:Shell 2.4%