Mercurial > hg > orthanc-stone
comparison Samples/WebAssembly/RtViewer/CMakeLists.txt @ 1389:5c83be3a6be5
split SDL / common + RtViewer rename + html test file
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 28 Apr 2020 08:58:41 +0200 |
parents | 24bcff8ea58f |
children | 27e0a00bd3e8 |
comparison
equal
deleted
inserted
replaced
1388:240531afdd2d | 1389:5c83be3a6be5 |
---|---|
57 ) | 57 ) |
58 | 58 |
59 # Declare installation files for the module | 59 # Declare installation files for the module |
60 # --------------------------------------------------------------- | 60 # --------------------------------------------------------------- |
61 install( | 61 install( |
62 TARGETS CtDoseStructViewerWasm | 62 TARGETS RtViewerWasm |
63 RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX} | 63 RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX} |
64 ) | 64 ) |
65 | 65 |
66 # Declare installation files for the companion files (web scaffolding) | 66 # Declare installation files for the companion files (web scaffolding) |
67 # please note that ${CMAKE_CURRENT_BINARY_DIR}/SingleFrameViewerWasm.js | 67 # please note that ${CMAKE_CURRENT_BINARY_DIR}/RtViewerWasm.js |
68 # (the generated JS loader for the WASM module) is handled by the `install1` | 68 # (the generated JS loader for the WASM module) is handled by the `install1` |
69 # section above | 69 # section above: it is considered to be the binary output of |
70 # the linker. | |
70 # --------------------------------------------------------------- | 71 # --------------------------------------------------------------- |
71 install( | 72 install( |
72 FILES | 73 FILES |
73 ${CMAKE_SOURCE_DIR}/CtDoseStructViewerApp.js | 74 ${CMAKE_SOURCE_DIR}/RtViewerApp.js |
74 ${CMAKE_SOURCE_DIR}/index.html | 75 ${CMAKE_SOURCE_DIR}/index.html |
75 ${CMAKE_CURRENT_BINARY_DIR}/CtDoseStructViewerWasm.wasm | 76 ${CMAKE_CURRENT_BINARY_DIR}/RtViewerWasm.wasm |
76 ${CMAKE_SOURCE_DIR}/WasmWrapper.js | 77 ${CMAKE_SOURCE_DIR}/WasmWrapper.js |
77 DESTINATION ${CMAKE_INSTALL_PREFIX} | 78 DESTINATION ${CMAKE_INSTALL_PREFIX} |
78 ) | 79 ) |