Mercurial > hg > orthanc-stone
comparison Platforms/Wasm/build-wasm.sh @ 249:54c7284b0eff am-2
merged useful changes from branch am
author | am@osimis.io |
---|---|
date | Mon, 02 Jul 2018 12:45:40 +0200 |
parents | b4642964c355 |
children | abc1c6231947 |
comparison
equal
deleted
inserted
replaced
248:2da24bf88100 | 249:54c7284b0eff |
---|---|
5 | 5 |
6 mkdir -p $wasmRootDir/build | 6 mkdir -p $wasmRootDir/build |
7 cd $wasmRootDir/build | 7 cd $wasmRootDir/build |
8 | 8 |
9 source ~/Downloads/emsdk/emsdk_env.sh | 9 source ~/Downloads/emsdk/emsdk_env.sh |
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 -DSTATIC_BUILD=OFF | 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 .. |
11 make -j 5 | 11 make -j 5 |
12 | 12 |
13 echo "-- building the web application -- " | 13 echo "-- building the web application -- " |
14 cd $currentDir | 14 cd $currentDir |
15 #./build-web.sh | 15 #./build-web.sh |