diff Samples/WebAssembly/NOTES.txt @ 886:5cfb479fdbde am-dev

fix BasicScene WASM sample
author Alain Mazy <alain@mazy.be>
date Tue, 09 Jul 2019 17:36:47 +0200
parents c47031d9f6b1
children ef6e425dc79f
line wrap: on
line diff
--- a/Samples/WebAssembly/NOTES.txt	Tue Jul 09 16:44:25 2019 +0200
+++ b/Samples/WebAssembly/NOTES.txt	Tue Jul 09 17:36:47 2019 +0200
@@ -63,3 +63,15 @@
 $ 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=${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
+