Mercurial > hg > orthanc
comparison CMakeLists.txt @ 3333:2a38e00a0638
Size of the Orthanc static binaries are reduced by compressing ICU data
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 27 Mar 2019 15:25:18 +0100 |
parents | b21d4cc8e5d1 |
children | 54cdad5a7228 |
comparison
equal
deleted
inserted
replaced
3332:79178122842c | 3333:2a38e00a0638 |
---|---|
191 add_definitions(-DORTHANC_STANDALONE=1) | 191 add_definitions(-DORTHANC_STANDALONE=1) |
192 EmbedResources( | 192 EmbedResources( |
193 ${ORTHANC_EMBEDDED_FILES} | 193 ${ORTHANC_EMBEDDED_FILES} |
194 ORTHANC_EXPLORER ${CMAKE_CURRENT_SOURCE_DIR}/OrthancExplorer | 194 ORTHANC_EXPLORER ${CMAKE_CURRENT_SOURCE_DIR}/OrthancExplorer |
195 ${DCMTK_DICTIONARIES} | 195 ${DCMTK_DICTIONARIES} |
196 ${LIBICU_RESOURCES} | |
196 ) | 197 ) |
197 else() | 198 else() |
198 add_definitions( | 199 add_definitions( |
199 -DORTHANC_STANDALONE=0 | 200 -DORTHANC_STANDALONE=0 |
200 -DORTHANC_PATH=\"${CMAKE_SOURCE_DIR}\" | 201 -DORTHANC_PATH=\"${CMAKE_SOURCE_DIR}\" |
201 ) | 202 ) |
202 EmbedResources( | 203 EmbedResources( |
203 ${ORTHANC_EMBEDDED_FILES} | 204 ${ORTHANC_EMBEDDED_FILES} |
205 ${LIBICU_RESOURCES} | |
204 ) | 206 ) |
205 endif() | 207 endif() |
206 | 208 |
207 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") | 209 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") |
208 execute_process( | 210 execute_process( |