comparison OrthancStone/Samples/RtViewerPlugin/CMakeLists.txt @ 1537:de8cf5859e84

removing useless docker-build.sh from the two plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Aug 2020 12:47:59 +0200
parents 3eca4f9c2827
children
comparison
equal deleted inserted replaced
1536:7b326e5ee97b 1537:de8cf5859e84
10 else() 10 else()
11 set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "1.7.2") 11 set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "1.7.2")
12 set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "web") 12 set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "web")
13 endif() 13 endif()
14 14
15 set(STONE_BINARIES_RT_VIEWER CACHE PATH "Path to the binaries of the RtViewer \"../WebAssembly\" folder") 15 set(STONE_BINARIES "${CMAKE_SOURCE_DIR}/../../../wasm-binaries/RtViewer/" CACHE PATH "Path to the binaries of the \"../WebAssembly\" folder")
16 16
17 # Parameters of the build 17 # Parameters of the build
18 set(STATIC_BUILD OFF CACHE BOOL "Static build of the third-party libraries (necessary for Windows)") 18 set(STATIC_BUILD OFF CACHE BOOL "Static build of the third-party libraries (necessary for Windows)")
19 set(ALLOW_DOWNLOADS OFF CACHE BOOL "Allow CMake to download packages") 19 set(ALLOW_DOWNLOADS OFF CACHE BOOL "Allow CMake to download packages")
20 set(ORTHANC_FRAMEWORK_SOURCE "${ORTHANC_FRAMEWORK_DEFAULT_SOURCE}" CACHE STRING "Source of the Orthanc framework (can be \"system\", \"hg\", \"archive\", \"web\" or \"path\")") 20 set(ORTHANC_FRAMEWORK_SOURCE "${ORTHANC_FRAMEWORK_DEFAULT_SOURCE}" CACHE STRING "Source of the Orthanc framework (can be \"system\", \"hg\", \"archive\", \"web\" or \"path\")")
72 72
73 # Explorer extension code 73 # Explorer extension code
74 ORTHANC_EXPLORER ${CMAKE_SOURCE_DIR}/OrthancExplorer.js 74 ORTHANC_EXPLORER ${CMAKE_SOURCE_DIR}/OrthancExplorer.js
75 75
76 # RtViewer individual files 76 # RtViewer individual files
77 RT_VIEWER_WASM_JS ${STONE_BINARIES_RT_VIEWER}/RtViewerWasm.js 77 RT_VIEWER_WASM_JS ${STONE_BINARIES}/RtViewerWasm.js
78 RT_VIEWER_WASM ${STONE_BINARIES_RT_VIEWER}/RtViewerWasm.wasm 78 RT_VIEWER_WASM ${STONE_BINARIES}/RtViewerWasm.wasm
79 RT_VIEWER_WASM_APP_JS ${STONE_BINARIES_RT_VIEWER}/RtViewerWasmApp.js 79 RT_VIEWER_WASM_APP_JS ${STONE_BINARIES}/RtViewerWasmApp.js
80 RT_VIEWER_INDEX_HTML ${STONE_BINARIES_RT_VIEWER}/index.html 80 RT_VIEWER_INDEX_HTML ${STONE_BINARIES}/index.html
81 ) 81 )
82 82
83 add_library(RtViewerPlugin SHARED 83 add_library(RtViewerPlugin SHARED
84 Plugin.cpp 84 Plugin.cpp
85 ${AUTOGENERATED_SOURCES} 85 ${AUTOGENERATED_SOURCES}