Mercurial > hg > orthanc-stone
comparison Applications/StoneWebViewer/WebAssembly/CMakeLists.txt @ 1950:6ffd65cfd2ee deep-learning
new branch: deep-learning
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 12 Aug 2022 15:48:35 +0200 |
parents | 9c52c0376ad7 |
children | a05b03f45289 |
comparison
equal
deleted
inserted
replaced
1949:d3ae6858e77b | 1950:6ffd65cfd2ee |
---|---|
21 cmake_minimum_required(VERSION 2.8.3) | 21 cmake_minimum_required(VERSION 2.8.3) |
22 cmake_policy(SET CMP0058 NEW) | 22 cmake_policy(SET CMP0058 NEW) |
23 | 23 |
24 project(OrthancStone) | 24 project(OrthancStone) |
25 include(${CMAKE_SOURCE_DIR}/../Version.cmake) | 25 include(${CMAKE_SOURCE_DIR}/../Version.cmake) |
26 | |
27 include(${CMAKE_SOURCE_DIR}/deep-learning/WebAssembly/Protobuf.cmake) # TODO | |
26 | 28 |
27 set(ORTHANC_STONE_INSTALL_PREFIX "${CMAKE_SOURCE_DIR}/../../../wasm-binaries/StoneWebViewer" CACHE PATH "Where to put the WebAssembly binaries") | 29 set(ORTHANC_STONE_INSTALL_PREFIX "${CMAKE_SOURCE_DIR}/../../../wasm-binaries/StoneWebViewer" CACHE PATH "Where to put the WebAssembly binaries") |
28 | 30 |
29 | 31 |
30 # Configuration of the Emscripten compiler for WebAssembly target | 32 # Configuration of the Emscripten compiler for WebAssembly target |
129 ) | 131 ) |
130 | 132 |
131 add_executable(StoneWebViewer | 133 add_executable(StoneWebViewer |
132 ${ORTHANC_STONE_SOURCES} | 134 ${ORTHANC_STONE_SOURCES} |
133 ${AUTOGENERATED_SOURCES} | 135 ${AUTOGENERATED_SOURCES} |
136 ${PROTOBUF_SOURCES} # TODO | |
137 ${CMAKE_SOURCE_DIR}/deep-learning/WebAssembly/Worker.pb.cc # TODO | |
134 StoneWebViewer.cpp | 138 StoneWebViewer.cpp |
135 ) | 139 ) |
136 | 140 |
137 set_target_properties(StoneWebViewer | 141 set_target_properties(StoneWebViewer |
138 PROPERTIES | 142 PROPERTIES |