Mercurial > hg > orthanc-stone
diff Applications/Samples/WebAssembly/NOTES.txt @ 1544:8ddf77198ed7
fixing paths
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 11 Aug 2020 14:51:03 +0200 |
parents | d1806b4e4839 |
children | 65eccce95882 |
line wrap: on
line diff
--- a/Applications/Samples/WebAssembly/NOTES.txt Tue Aug 11 14:08:51 2020 +0200 +++ b/Applications/Samples/WebAssembly/NOTES.txt Tue Aug 11 14:51:03 2020 +0200 @@ -20,3 +20,15 @@ the following location: https://github.com/jodogne/OrthancDocker/tree/master/wasm-builder + +Native compilation (without Docker) +=================================== + +Install Emscripten: +https://emscripten.org/docs/getting_started/downloads.html + +Then, if the installation path is "~/Downloads/emsdk/": + +# source ~/Downloads/emsdk/emsdk_env.sh +# cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=${EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DALLOW_DOWNLOADS=ON -G Ninja +# ninja