Mercurial > hg > orthanc-stone
comparison Applications/Samples/build-wasm.sh @ 445:ee41b6a017d7 bgo-commands-codegen
dumb change
author | bgo-osimis |
---|---|
date | Wed, 16 Jan 2019 16:24:45 +0100 |
parents | e641d3978856 |
children | 5055031f4a06 |
comparison
equal
deleted
inserted
replaced
440:a750f11892ec | 445:ee41b6a017d7 |
---|---|
15 samplesRootDir=$(pwd) | 15 samplesRootDir=$(pwd) |
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 ~/Downloads/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 -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 |
22 make -j 5 $target | 22 make -j 5 $target |
23 | 23 |
24 echo "-- building the web application -- " | 24 echo "-- building the web application -- " |
25 cd $currentDir | 25 cd $currentDir |