Mercurial > hg > orthanc-wsi
comparison Applications/CMakeLists.txt @ 205:a8f25caebc07
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 04 Aug 2020 13:29:52 +0200 |
parents | 9d3ffcc402a9 |
children | 541a4aa63278 |
comparison
equal
deleted
inserted
replaced
204:9d3ffcc402a9 | 205:a8f25caebc07 |
---|---|
128 ${ORTHANC_CORE_SOURCES_INTERNAL} | 128 ${ORTHANC_CORE_SOURCES_INTERNAL} |
129 ${ORTHANC_DICOM_SOURCES_INTERNAL} | 129 ${ORTHANC_DICOM_SOURCES_INTERNAL} |
130 ) | 130 ) |
131 | 131 |
132 ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS( | 132 ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS( |
133 "PrecompiledHeaders.h" "${ORTHANC_FRAMEWORK_ROOT}/Sources/PrecompiledHeaders.cpp" | 133 "PrecompiledHeaders.h" "${ORTHANC_FRAMEWORK_ROOT}/PrecompiledHeaders.cpp" |
134 TMP ORTHANC_CORE_PCH) | 134 TMP ORTHANC_CORE_PCH) |
135 | 135 |
136 ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS( | 136 ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS( |
137 "PrecompiledHeadersWSI.h" "${ORTHANC_WSI_DIR}/Framework/PrecompiledHeadersWSI.cpp" | 137 "PrecompiledHeadersWSI.h" "${ORTHANC_WSI_DIR}/Framework/PrecompiledHeadersWSI.cpp" |
138 ORTHANC_WSI_SOURCES ORTHANC_WSI_PCH) | 138 ORTHANC_WSI_SOURCES ORTHANC_WSI_PCH) |
175 | 175 |
176 # Create the Windows resources, if need be | 176 # Create the Windows resources, if need be |
177 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") | 177 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") |
178 execute_process( | 178 execute_process( |
179 COMMAND | 179 COMMAND |
180 ${PYTHON_EXECUTABLE} ${ORTHANC_FRAMEWORK_ROOT}/Resources/WindowsResources.py | 180 ${PYTHON_EXECUTABLE} ${ORTHANC_FRAMEWORK_ROOT}/../Resources/WindowsResources.py |
181 ${ORTHANC_WSI_VERSION} OrthancWSIDicomizer OrthancWSIDicomizer.exe "Companion tool to Orthanc for whole-slide imaging" | 181 ${ORTHANC_WSI_VERSION} OrthancWSIDicomizer OrthancWSIDicomizer.exe "Companion tool to Orthanc for whole-slide imaging" |
182 ERROR_VARIABLE Failure | 182 ERROR_VARIABLE Failure |
183 OUTPUT_FILE ${AUTOGENERATED_DIR}/OrthancWSIDicomizer.rc | 183 OUTPUT_FILE ${AUTOGENERATED_DIR}/OrthancWSIDicomizer.rc |
184 ) | 184 ) |
185 | 185 |
211 | 211 |
212 # Create the Windows resources, if need be | 212 # Create the Windows resources, if need be |
213 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") | 213 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") |
214 execute_process( | 214 execute_process( |
215 COMMAND | 215 COMMAND |
216 ${PYTHON_EXECUTABLE} ${ORTHANC_FRAMEWORK_ROOT}/Resources/WindowsResources.py | 216 ${PYTHON_EXECUTABLE} ${ORTHANC_FRAMEWORK_ROOT}/../Resources/WindowsResources.py |
217 ${ORTHANC_WSI_VERSION} OrthancWSIDicomToTiff OrthancWSIDicomToTiff.exe "Companion tool to Orthanc for whole-slide imaging" | 217 ${ORTHANC_WSI_VERSION} OrthancWSIDicomToTiff OrthancWSIDicomToTiff.exe "Companion tool to Orthanc for whole-slide imaging" |
218 ERROR_VARIABLE Failure | 218 ERROR_VARIABLE Failure |
219 OUTPUT_FILE ${AUTOGENERATED_DIR}/OrthancWSIDicomToTiff.rc | 219 OUTPUT_FILE ${AUTOGENERATED_DIR}/OrthancWSIDicomToTiff.rc |
220 ) | 220 ) |
221 | 221 |