comparison Applications/StoneWebViewer/WebAssembly/CMakeLists.txt @ 1555:b894072b9e2f

static JavaScript resources
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 17 Aug 2020 18:58:23 +0200
parents a48ae10857b1
children 2a4a6b967053
comparison
equal deleted inserted replaced
1554:6d14ed6163b1 1555:b894072b9e2f
115 # please note that ${CMAKE_CURRENT_BINARY_DIR}/StoneWebViewer.js 115 # please note that ${CMAKE_CURRENT_BINARY_DIR}/StoneWebViewer.js
116 # (the generated JS loader for the WASM module) is handled by the `install` 116 # (the generated JS loader for the WASM module) is handled by the `install`
117 # section above: it is considered to be the binary output of 117 # section above: it is considered to be the binary output of
118 # the linker. 118 # the linker.
119 # --------------------------------------------------------------- 119 # ---------------------------------------------------------------
120 include(${CMAKE_SOURCE_DIR}/JavaScriptLibraries.cmake)
121
120 install( 122 install(
121 FILES 123 FILES
122 ${CMAKE_CURRENT_BINARY_DIR}/StoneWebViewer.wasm 124 ${CMAKE_CURRENT_BINARY_DIR}/StoneWebViewer.wasm
123 ${CMAKE_SOURCE_DIR}/../WebApplication/app.css 125 ${CMAKE_SOURCE_DIR}/../WebApplication/app.css
124 ${CMAKE_SOURCE_DIR}/../WebApplication/app.js 126 ${CMAKE_SOURCE_DIR}/../WebApplication/app.js