diff Applications/StoneWebViewer/BuildInstructions.txt @ 1862:63587fdeec69

added 'SkipSeriesFromModalities' to ignore series from modality types
author Alain Mazy <am@osimis.io>
date Thu, 23 Sep 2021 14:38:42 +0200
parents b8f54ab47b3b
children 5653b6335642
line wrap: on
line diff
--- a/Applications/StoneWebViewer/BuildInstructions.txt	Tue Sep 21 12:44:40 2021 +0200
+++ b/Applications/StoneWebViewer/BuildInstructions.txt	Thu Sep 23 14:38:42 2021 +0200
@@ -31,6 +31,8 @@
 make -j 6
 
 # build the StoneViewer WASM code
+# note: for fast link time: use -DCMAKE_BUILD_TYPE=RelWithDebInfo.  However, this produces an output that is too large to be embedded in the plugin
+# therefore, when you build the plugin, build the WASM code with -DCMAKE_BUILD_TYPE=Release
 cd ~/dev/build/wasm-stone-viewer
 cmake ../../orthanc-stone/Applications/StoneWebViewer/WebAssembly -DLIBCLANG=/usr/lib/x86_64-linux-gnu/libclang-10.so -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=${EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DALLOW_DOWNLOADS=ON -G Ninja
 ninja install