Mercurial > hg > orthanc
comparison OrthancFramework/Resources/CMake/WebAssembly/ArithmeticTests/CMakeLists.txt @ 4315:e62bd014ae5c
removed EMSCRIPTEN_SET_LLVM_WASM_BACKEND option for CMake
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 17 Nov 2020 11:16:22 +0100 |
parents | 304842a0d152 |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4314:0a4347203a7e | 4315:e62bd014ae5c |
---|---|
17 # License along with this program. If not, see | 17 # License along with this program. If not, see |
18 # <http://www.gnu.org/licenses/>. | 18 # <http://www.gnu.org/licenses/>. |
19 | 19 |
20 | 20 |
21 # source ~/Downloads/emsdk/emsdk_env.sh | 21 # source ~/Downloads/emsdk/emsdk_env.sh |
22 # cmake .. -DCMAKE_TOOLCHAIN_FILE=${EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_BUILD_TYPE=Debug -DEMSCRIPTEN_SET_LLVM_WASM_BACKEND=ON -DCMAKE_INSTALL_PREFIX=/tmp/wasm-install/ | 22 # cmake .. -DCMAKE_TOOLCHAIN_FILE=${EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/tmp/wasm-install/ |
23 # make install | 23 # make install |
24 # cd /tmp/wasm-install | 24 # cd /tmp/wasm-install |
25 # python -m SimpleHTTPServer 8000 | 25 # python -m SimpleHTTPServer 8000 |
26 # firefox http://localhost:8000/ | 26 # firefox http://localhost:8000/ |
27 # -> Copy the result as "../arith.h" | 27 # -> Copy the result as "../arith.h" |