annotate Platforms/Wasm/build-wasm.sh @ 252:40b21c1f8b8d
am-2
more usage of IObservable/IObserver
author |
am@osimis.io |
date |
Tue, 03 Jul 2018 10:26:56 +0200 |
parents |
54c7284b0eff |
children |
abc1c6231947 |
rev |
line source |
237
|
1 #!/bin/bash
|
|
2
|
|
3 currentDir=$(pwd)
|
|
4 wasmRootDir=$(pwd)
|
|
5
|
|
6 mkdir -p $wasmRootDir/build
|
|
7 cd $wasmRootDir/build
|
|
8
|
|
9 source ~/Downloads/emsdk/emsdk_env.sh
|
249
|
10 cmake -DCMAKE_TOOLCHAIN_FILE=${EMSCRIPTEN}/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_BUILD_TYPE=Release -DSTONE_SOURCES_DIR=$currentDir/../../../orthanc-stone -DORTHANC_FRAMEWORK_SOURCE=path -DORTHANC_FRAMEWORK_ROOT=$currentDir/../../../orthanc -DALLOW_DOWNLOADS=ON ..
|
237
|
11 make -j 5
|
|
12
|
|
13 echo "-- building the web application -- "
|
|
14 cd $currentDir
|
|
15 #./build-web.sh |