Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
1543:4cfdaf4ef3fe | 1544:8ddf77198ed7 |
---|---|
18 | 18 |
19 NB: The source code of the Docker build environment can be found at | 19 NB: The source code of the Docker build environment can be found at |
20 the following location: | 20 the following location: |
21 https://github.com/jodogne/OrthancDocker/tree/master/wasm-builder | 21 https://github.com/jodogne/OrthancDocker/tree/master/wasm-builder |
22 | 22 |
23 | |
24 Native compilation (without Docker) | |
25 =================================== | |
26 | |
27 Install Emscripten: | |
28 https://emscripten.org/docs/getting_started/downloads.html | |
29 | |
30 Then, if the installation path is "~/Downloads/emsdk/": | |
31 | |
32 # source ~/Downloads/emsdk/emsdk_env.sh | |
33 # cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=${EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DALLOW_DOWNLOADS=ON -G Ninja | |
34 # ninja |