view Resources/CodeGeneration/testWasmIntegrated/build.sh @ 535:79bb0a02d1cc bgo-commands-codegen

- Added ORTHANC_OVERRIDE to several methods (translates to "override" in C++ 11 compilers) - Last fixes to new style command handling (removed useless commands and switch command handling in simple samples to use XxxxSerializedMessageXxxx instead of XxxxCommandXxxx - Fixed hardcoded input instance in SingleFrameEditorApplication
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 19 Mar 2019 09:13:57 +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