Mercurial > hg > orthanc-stone
view Resources/CodeGeneration/testWasmIntegrated/build.sh @ 1141:7681f3943748
Changed handling of DoseGridScaling: before this commit, rescaleSlope was set to
the DoseGridScaling value if rescale* tags weren't present AND in the case of a
dose. This caused issues in dose files where all three tags (DoseGridScaling,
RescaleSlope and RescaleIntercept) were present, which previously led to the
DoseGridScaling tag to be ignored. Now, the rescale* tags are *ignored* in dose
files and DoseGridScaling is always taken into account.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 08 Nov 2019 14:25:35 +0100 |
parents | 6d62fc8a6988 |
children |
line wrap: on
line source
#!/bin/bash set -e mkdir -p build-wasm cd build-wasm # shellcheck source="$HOME/apps/emsdk/emsdk_env.sh" source "$HOME/apps/emsdk/emsdk_env.sh" cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=${EMSCRIPTEN}/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_WASM=ON .. ninja cd .. ./build-web.sh