Mercurial > hg > orthanc
comparison Resources/CMake/OrthancFrameworkConfiguration.cmake @ 2391:233d6eeef799
fix pch
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Aug 2017 12:29:48 +0200 |
parents | cf0eb76c5e81 |
children | a88c3ea0c96d |
comparison
equal
deleted
inserted
replaced
2390:cf0eb76c5e81 | 2391:233d6eeef799 |
---|---|
323 add_definitions(-DORTHANC_ENABLE_DCMTK_JPEG_LOSSLESS=1) | 323 add_definitions(-DORTHANC_ENABLE_DCMTK_JPEG_LOSSLESS=1) |
324 else() | 324 else() |
325 add_definitions(-DORTHANC_ENABLE_DCMTK_JPEG_LOSSLESS=0) | 325 add_definitions(-DORTHANC_ENABLE_DCMTK_JPEG_LOSSLESS=0) |
326 endif() | 326 endif() |
327 | 327 |
328 set(ORTHANC_DICOM_SOURCES | 328 set(ORTHANC_DICOM_SOURCES_INTERNAL |
329 ${ORTHANC_ROOT}/Core/DicomParsing/DicomDirWriter.cpp | 329 ${ORTHANC_ROOT}/Core/DicomParsing/DicomDirWriter.cpp |
330 ${ORTHANC_ROOT}/Core/DicomParsing/DicomModification.cpp | 330 ${ORTHANC_ROOT}/Core/DicomParsing/DicomModification.cpp |
331 ${ORTHANC_ROOT}/Core/DicomParsing/FromDcmtkBridge.cpp | 331 ${ORTHANC_ROOT}/Core/DicomParsing/FromDcmtkBridge.cpp |
332 ${ORTHANC_ROOT}/Core/DicomParsing/ParsedDicomFile.cpp | 332 ${ORTHANC_ROOT}/Core/DicomParsing/ParsedDicomFile.cpp |
333 ${ORTHANC_ROOT}/Core/DicomParsing/ToDcmtkBridge.cpp | 333 ${ORTHANC_ROOT}/Core/DicomParsing/ToDcmtkBridge.cpp |
334 | 334 |
335 ${ORTHANC_ROOT}/Core/DicomParsing/Internals/DicomFrameIndex.cpp | 335 ${ORTHANC_ROOT}/Core/DicomParsing/Internals/DicomFrameIndex.cpp |
336 ${ORTHANC_ROOT}/Core/DicomParsing/Internals/DicomImageDecoder.cpp | 336 ${ORTHANC_ROOT}/Core/DicomParsing/Internals/DicomImageDecoder.cpp |
337 | |
338 ${DCMTK_SOURCES} | |
339 ) | 337 ) |
340 | 338 |
341 if (ENABLE_DCMTK_NETWORKING) | 339 if (ENABLE_DCMTK_NETWORKING) |
342 add_definitions(-DORTHANC_ENABLE_DCMTK_NETWORKING=1) | 340 add_definitions(-DORTHANC_ENABLE_DCMTK_NETWORKING=1) |
343 list(APPEND ORTHANC_DICOM_SOURCES | 341 list(APPEND ORTHANC_DICOM_SOURCES_INTERNAL |
344 ${ORTHANC_ROOT}/Core/DicomNetworking/DicomFindAnswers.cpp | 342 ${ORTHANC_ROOT}/Core/DicomNetworking/DicomFindAnswers.cpp |
345 ${ORTHANC_ROOT}/Core/DicomNetworking/DicomServer.cpp | 343 ${ORTHANC_ROOT}/Core/DicomNetworking/DicomServer.cpp |
346 ${ORTHANC_ROOT}/Core/DicomNetworking/DicomUserConnection.cpp | 344 ${ORTHANC_ROOT}/Core/DicomNetworking/DicomUserConnection.cpp |
347 ${ORTHANC_ROOT}/Core/DicomNetworking/RemoteModalityParameters.cpp | 345 ${ORTHANC_ROOT}/Core/DicomNetworking/RemoteModalityParameters.cpp |
348 ${ORTHANC_ROOT}/Core/DicomNetworking/ReusableDicomUserConnection.cpp | 346 ${ORTHANC_ROOT}/Core/DicomNetworking/ReusableDicomUserConnection.cpp |
428 | 426 |
429 set(ORTHANC_CORE_SOURCES | 427 set(ORTHANC_CORE_SOURCES |
430 ${ORTHANC_CORE_SOURCES_INTERNAL} | 428 ${ORTHANC_CORE_SOURCES_INTERNAL} |
431 ${ORTHANC_CORE_SOURCES_DEPENDENCIES} | 429 ${ORTHANC_CORE_SOURCES_DEPENDENCIES} |
432 ) | 430 ) |
431 | |
432 if (ENABLE_DCMTK) | |
433 set(ORTHANC_DICOM_SOURCES_DEPENDENCIES | |
434 ${DCMTK_SOURCES} | |
435 ) | |
436 | |
437 set(ORTHANC_DICOM_SOURCES | |
438 ${ORTHANC_DICOM_SOURCES_INTERNAL} | |
439 ${ORTHANC_DICOM_SOURCES_DEPENDENCIES} | |
440 ) | |
441 endif() |