Mercurial > hg > orthanc-stone
comparison Applications/StoneWebViewer/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 ON) | 54 SET(ENABLE_DCMTK ON) |
55 SET(ENABLE_DCMTK_NETWORKING OFF) | 55 SET(ENABLE_DCMTK_NETWORKING OFF) |
56 SET(ENABLE_DCMTK_TRANSCODING OFF) | 56 SET(ENABLE_DCMTK_TRANSCODING OFF) |
57 SET(ENABLE_GOOGLE_TEST OFF) | 57 SET(ENABLE_GOOGLE_TEST OFF) |
58 SET(ENABLE_LOCALE ON) # Necessary for text rendering | 58 SET(ENABLE_LOCALE ON) # Necessary for text rendering |
59 SET(ENABLE_WASM ON) | |
60 SET(ENABLE_PUGIXML ON) # Necessary for OsiriX annotations | 59 SET(ENABLE_PUGIXML ON) # Necessary for OsiriX annotations |
61 SET(ORTHANC_SANDBOXED ON) | 60 SET(ORTHANC_SANDBOXED ON) |
62 | 61 |
63 # this will set up the build system for Stone of Orthanc and will | 62 # this will set up the build system for Stone of Orthanc and will |
64 # populate the ORTHANC_STONE_SOURCES CMake variable | 63 # populate the ORTHANC_STONE_SOURCES CMake variable |
65 include(${ORTHANC_STONE_ROOT}/Resources/CMake/OrthancStoneConfiguration.cmake) | 64 include(${CMAKE_SOURCE_DIR}/../../Platforms/WebAssembly/OrthancStoneWebAssemblyConfiguration.cmake) |
66 | 65 |
67 include_directories( | 66 include_directories( |
68 ${CMAKE_SOURCE_DIR}/../../../OrthancStone/Sources/ | 67 ${CMAKE_SOURCE_DIR}/../../../OrthancStone/Sources/ |
68 ${CMAKE_SOURCE_DIR}/../../Platforms/WebAssembly/ | |
69 ) | 69 ) |
70 | 70 |
71 if (CMAKE_BUILD_TYPE MATCHES Debug) | 71 if (CMAKE_BUILD_TYPE MATCHES Debug) |
72 # specific flags go here | 72 # specific flags go here |
73 elseif (CMAKE_BUILD_TYPE MATCHES RelWithDebInfo) | 73 elseif (CMAKE_BUILD_TYPE MATCHES RelWithDebInfo) |