Mercurial > hg > orthanc-stone
comparison Resources/CMake/OrthancStoneConfiguration.cmake @ 221:d7b2590744f8 am
wip: building applications reusable in SDL and WASM
author | am@osimis.io |
---|---|
date | Mon, 11 Jun 2018 14:01:02 +0200 |
parents | 07792a582de9 |
children | 84844649a8fd |
comparison
equal
deleted
inserted
replaced
219:26e3bfe30e66 | 221:d7b2590744f8 |
---|---|
133 | 133 |
134 ##################################################################### | 134 ##################################################################### |
135 ## All the source files required to build Stone of Orthanc | 135 ## All the source files required to build Stone of Orthanc |
136 ##################################################################### | 136 ##################################################################### |
137 | 137 |
138 set(APPLICATIONS_SOURCES | |
139 ${ORTHANC_STONE_ROOT}/Applications/IBasicApplication.h | |
140 ) | |
141 | |
138 if (NOT ORTHANC_SANDBOXED) | 142 if (NOT ORTHANC_SANDBOXED) |
139 set(PLATFORM_SOURCES | 143 set(PLATFORM_SOURCES |
140 ${ORTHANC_STONE_ROOT}/Platforms/Generic/WebServiceGetCommand.cpp | 144 ${ORTHANC_STONE_ROOT}/Platforms/Generic/WebServiceGetCommand.cpp |
141 ${ORTHANC_STONE_ROOT}/Platforms/Generic/WebServicePostCommand.cpp | 145 ${ORTHANC_STONE_ROOT}/Platforms/Generic/WebServicePostCommand.cpp |
142 ${ORTHANC_STONE_ROOT}/Platforms/Generic/Oracle.cpp | 146 ${ORTHANC_STONE_ROOT}/Platforms/Generic/Oracle.cpp |
143 ) | 147 ) |
144 | 148 |
145 set(APPLICATIONS_SOURCES | 149 list(APPEND APPLICATIONS_SOURCES |
146 ${ORTHANC_STONE_ROOT}/Applications/BasicApplicationContext.cpp | 150 ${ORTHANC_STONE_ROOT}/Applications/BasicApplicationContext.cpp |
147 ${ORTHANC_STONE_ROOT}/Applications/IBasicApplication.cpp | 151 ${ORTHANC_STONE_ROOT}/Applications/Sdl/BasicSdlApplication.cpp |
148 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlEngine.cpp | 152 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlEngine.cpp |
149 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlCairoSurface.cpp | 153 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlCairoSurface.cpp |
150 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlOrthancSurface.cpp | 154 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlOrthancSurface.cpp |
151 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlWindow.cpp | 155 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlWindow.cpp |
156 ) | |
157 else() | |
158 list(APPEND APPLICATIONS_SOURCES | |
159 ${ORTHANC_STONE_ROOT}/Applications/Wasm/BasicWasmApplication.cpp | |
152 ) | 160 ) |
153 endif() | 161 endif() |
154 | 162 |
155 list(APPEND ORTHANC_STONE_SOURCES | 163 list(APPEND ORTHANC_STONE_SOURCES |
156 #${ORTHANC_STONE_ROOT}/Framework/Layers/SeriesFrameRendererFactory.cpp | 164 #${ORTHANC_STONE_ROOT}/Framework/Layers/SeriesFrameRendererFactory.cpp |
220 | 228 |
221 # Optional components | 229 # Optional components |
222 ${SDL_SOURCES} | 230 ${SDL_SOURCES} |
223 ${BOOST_EXTENDED_SOURCES} | 231 ${BOOST_EXTENDED_SOURCES} |
224 ) | 232 ) |
233 |