Mercurial > hg > orthanc-stone
comparison Applications/Samples/build-wasm-samples.sh @ 1759:7428da2bb94d
merge
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 26 Apr 2021 20:43:00 +0200 |
parents | b235999cad69 |
children | 3889ae96d2e9 |
comparison
equal
deleted
inserted
replaced
1758:4ee11b8773e2 | 1759:7428da2bb94d |
---|---|
51 # configure the environment to use Emscripten | 51 # configure the environment to use Emscripten |
52 source ~/apps/emsdk/emsdk_env.sh | 52 source ~/apps/emsdk/emsdk_env.sh |
53 | 53 |
54 emcmake cmake -G "Ninja" \ | 54 emcmake cmake -G "Ninja" \ |
55 -DCMAKE_BUILD_TYPE=$buildType \ | 55 -DCMAKE_BUILD_TYPE=$buildType \ |
56 -DCMAKE_INSTALL_PREFIX=$installFolderName \ | 56 -DORTHANC_STONE_INSTALL_PREFIX=$installFolderName \ |
57 -DSTATIC_BUILD=ON -DALLOW_DOWNLOADS=ON \ | 57 -DSTATIC_BUILD=ON -DALLOW_DOWNLOADS=ON \ |
58 $samplesRootDir/WebAssembly | 58 $samplesRootDir/WebAssembly |
59 | 59 |
60 # perform build + installation | 60 # perform build + installation |
61 ninja | 61 ninja |