comparison Applications/Samples/build-wasm.sh @ 504:7cdb4634846c

Merge
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 26 Feb 2019 21:15:20 +0100
parents 3fd8e4e5f93e 5055031f4a06
children 801d2697a1b1
comparison
equal deleted inserted replaced
460:4d8ac609fc33 504:7cdb4634846c
16 16
17 mkdir -p $samplesRootDir/build-wasm 17 mkdir -p $samplesRootDir/build-wasm
18 cd $samplesRootDir/build-wasm 18 cd $samplesRootDir/build-wasm
19 19
20 source ~/apps/emsdk/emsdk_env.sh 20 source ~/apps/emsdk/emsdk_env.sh
21 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 .. -DENABLE_WASM=ON 21 cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=${EMSCRIPTEN}/cmake/Modules/Platform/Emscripten.cmake \
22 make -j 5 $target 22 -DCMAKE_BUILD_TYPE=Release \
23 -DSTONE_SOURCES_DIR=$currentDir/../../../orthanc-stone \
24 -DORTHANC_FRAMEWORK_SOURCE=path \
25 -DORTHANC_FRAMEWORK_ROOT=$currentDir/../../../orthanc \
26 -DALLOW_DOWNLOADS=ON .. \
27 -DENABLE_WASM=ON
28
29 ninja $target
23 30
24 echo "-- building the web application -- " 31 echo "-- building the web application -- "
25 cd $currentDir 32 cd $currentDir
26 ./build-web.sh 33 ./build-web.sh