Mercurial > hg > orthanc-stone
comparison Deprecated/Resources/CodeGeneration/testWasmIntegrated/build.sh @ 1401:f6a2d46d2b76
moved CodeGeneration into Deprecated
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 29 Apr 2020 20:48:18 +0200 |
parents | Resources/CodeGeneration/testWasmIntegrated/build.sh@6d62fc8a6988 |
children |
comparison
equal
deleted
inserted
replaced
1400:419d0320c344 | 1401:f6a2d46d2b76 |
---|---|
1 #!/bin/bash | |
2 | |
3 set -e | |
4 | |
5 mkdir -p build-wasm | |
6 cd build-wasm | |
7 | |
8 # shellcheck source="$HOME/apps/emsdk/emsdk_env.sh" | |
9 source "$HOME/apps/emsdk/emsdk_env.sh" | |
10 cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=${EMSCRIPTEN}/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_WASM=ON .. | |
11 | |
12 ninja | |
13 | |
14 cd .. | |
15 | |
16 ./build-web.sh | |
17 |