Mercurial > hg > orthanc-stone
comparison Applications/Samples/build-wasm.sh @ 1190:f417a0ae282b
wip: TextLayer with new fonts
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Tue, 26 Nov 2019 15:27:48 +0100 |
parents | 40bb5eb247a5 |
children |
comparison
equal
deleted
inserted
replaced
1184:848dcba80d81 | 1190:f417a0ae282b |
---|---|
17 | 17 |
18 mkdir -p $samplesRootDir/build-wasm | 18 mkdir -p $samplesRootDir/build-wasm |
19 cd $samplesRootDir/build-wasm | 19 cd $samplesRootDir/build-wasm |
20 | 20 |
21 source ~/apps/emsdk/emsdk_env.sh | 21 source ~/apps/emsdk/emsdk_env.sh |
22 cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=${EMSCRIPTEN}/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_BUILD_TYPE=$buildType -DSTONE_SOURCES_DIR=$currentDir/../../../orthanc-stone -DORTHANC_FRAMEWORK_SOURCE=path -DORTHANC_FRAMEWORK_ROOT=$currentDir/../../../orthanc -DALLOW_DOWNLOADS=ON .. -DENABLE_WASM=ON | 22 cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=~/apps/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_BUILD_TYPE=$buildType -DSTONE_SOURCES_DIR=$currentDir/../../../orthanc-stone -DORTHANC_FRAMEWORK_SOURCE=path -DORTHANC_FRAMEWORK_ROOT=$currentDir/../../../orthanc -DALLOW_DOWNLOADS=ON .. -DENABLE_WASM=ON |
23 ninja $target | 23 ninja $target |
24 | 24 |
25 echo "-- building the web application -- " | 25 echo "-- building the web application -- " |
26 cd $currentDir | 26 cd $currentDir |
27 ./build-web.sh | 27 ./build-web.sh |