changeset 904:ecdb2ceaa925

notes for AM build
author Alain Mazy <alain@mazy.be>
date Wed, 17 Jul 2019 15:33:34 +0200
parents 240359ab1651
children 88bf49aebc13
files Samples/WebAssembly/NOTES.txt
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
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