comparison Applications/Samples/WebAssembly/CMakeLists.txt @ 1591:5887a4f8594b

moving platform-specific files out of the "OrthancStone" folder
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 23 Oct 2020 13:15:03 +0200
parents 8c5f9864545f
children 0d4b11ba86df
comparison
equal deleted inserted replaced
1590:7b963bccafef 1591:5887a4f8594b
47 47
48 # Stone of Orthanc configuration 48 # Stone of Orthanc configuration
49 # --------------------------------------------------------------- 49 # ---------------------------------------------------------------
50 set(ALLOW_DOWNLOADS ON) 50 set(ALLOW_DOWNLOADS ON)
51 51
52 include(${CMAKE_SOURCE_DIR}/../../../OrthancStone/Resources/CMake/OrthancStoneParameters.cmake) 52 include(${CMAKE_SOURCE_DIR}/../../Platforms/WebAssembly/OrthancStoneWebAssemblyParameters.cmake)
53 53
54 SET(ENABLE_DCMTK OFF) # Not necessary 54 SET(ENABLE_DCMTK OFF) # Not necessary
55 SET(ENABLE_GOOGLE_TEST OFF) 55 SET(ENABLE_GOOGLE_TEST OFF)
56 SET(ENABLE_LOCALE ON) # Necessary for text rendering 56 SET(ENABLE_LOCALE ON) # Necessary for text rendering
57 SET(ENABLE_WASM ON)
58 SET(ORTHANC_SANDBOXED ON) 57 SET(ORTHANC_SANDBOXED ON)
59 58
60 # this will set up the build system for Stone of Orthanc and will 59 # this will set up the build system for Stone of Orthanc and will
61 # populate the ORTHANC_STONE_SOURCES CMake variable 60 # populate the ORTHANC_STONE_SOURCES CMake variable
62 include(${ORTHANC_STONE_ROOT}/Resources/CMake/OrthancStoneConfiguration.cmake) 61 include(${CMAKE_SOURCE_DIR}/../../Platforms/WebAssembly/OrthancStoneWebAssemblyConfiguration.cmake)
63 62
64 63
65 # We embed a font to be used for on-screen overlays 64 # We embed a font to be used for on-screen overlays
66 # --------------------------------------------------------------- 65 # ---------------------------------------------------------------
67 66