Mercurial > hg > orthanc-stone
diff Samples/WebAssembly/NOTES.txt @ 904:ecdb2ceaa925
notes for AM build
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 17 Jul 2019 15:33:34 +0200 |
parents | c47031d9f6b1 |
children | 64e5f3ff6360 |
line wrap: on
line diff
--- a/Samples/WebAssembly/NOTES.txt Wed Jul 17 09:39:51 2019 +0200 +++ b/Samples/WebAssembly/NOTES.txt Wed Jul 17 15:33:34 2019 +0200 @@ -63,3 +63,14 @@ $ make -C ~/Subversion/orthanc-webviewer/r -j4 $ ~/Subversion/orthanc/r/Orthanc ../ConfigurationLocalSJO.json + +Local AM +======== + +. ~/apps/emsdk/emsdk_env.sh +cd /mnt/c/o/ +mkdir -p build_stone_newsamples_wasm_wsl +mkdir -p build_install_stone_newsamples_wasm_wsl +cd build_stone_newsamples_wasm_wsl +cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=${EMSDK}/fastcomp/emscripten/cmake/Modules/Platform/Emscripten.cmake -DORTHANC_FRAMEWORK_SOURCE=path -DORTHANC_FRAMEWORK_ROOT=/mnt/c/o/orthanc/ -DCMAKE_BUILD_TYPE=Release -DALLOW_DOWNLOADS=ON /mnt/c/o/orthanc-stone/Samples/WebAssembly -DCMAKE_INSTALL_PREFIX=/mnt/c/o/build_install_stone_newsamples_wasm_wsl +ninja