# HG changeset patch # User Sebastien Jodogne # Date 1477561980 -7200 # Node ID 8fbe705e3d924d1fb0809ef532366c41236e3e49 # Parent 6e84b48851f7705ee2043e4628e3daf1cafa3276 store Orthanc Core sources in a separate group diff -r 6e84b48851f7 -r 8fbe705e3d92 Applications/CMakeLists.txt --- a/Applications/CMakeLists.txt Thu Oct 27 11:44:39 2016 +0200 +++ b/Applications/CMakeLists.txt Thu Oct 27 11:53:00 2016 +0200 @@ -105,37 +105,6 @@ ## precompiled headers ##################################################################### -set(ORTHANC_CORE_SOURCES - ${ORTHANC_ROOT}/Core/ChunkedBuffer.cpp - ${ORTHANC_ROOT}/Core/DicomFormat/DicomArray.cpp - ${ORTHANC_ROOT}/Core/DicomFormat/DicomMap.cpp - ${ORTHANC_ROOT}/Core/DicomFormat/DicomTag.cpp - ${ORTHANC_ROOT}/Core/DicomFormat/DicomValue.cpp - ${ORTHANC_ROOT}/Core/Enumerations.cpp - ${ORTHANC_ROOT}/Core/HttpClient.cpp - ${ORTHANC_ROOT}/Core/Images/IImageWriter.cpp - ${ORTHANC_ROOT}/Core/Images/Image.cpp - ${ORTHANC_ROOT}/Core/Images/ImageAccessor.cpp - ${ORTHANC_ROOT}/Core/Images/ImageBuffer.cpp - ${ORTHANC_ROOT}/Core/Images/ImageProcessing.cpp - ${ORTHANC_ROOT}/Core/Images/JpegErrorManager.cpp - ${ORTHANC_ROOT}/Core/Images/JpegReader.cpp - ${ORTHANC_ROOT}/Core/Images/JpegWriter.cpp - ${ORTHANC_ROOT}/Core/Images/PngReader.cpp - ${ORTHANC_ROOT}/Core/Images/PngWriter.cpp - ${ORTHANC_ROOT}/Core/Logging.cpp - ${ORTHANC_ROOT}/Core/MultiThreading/BagOfTasksProcessor.cpp - ${ORTHANC_ROOT}/Core/MultiThreading/SharedMessageQueue.cpp - ${ORTHANC_ROOT}/Core/Toolbox.cpp - ${ORTHANC_ROOT}/Core/Uuid.cpp - ${ORTHANC_ROOT}/Core/WebServiceParameters.cpp - ${ORTHANC_ROOT}/OrthancServer/FromDcmtkBridge.cpp - ${ORTHANC_ROOT}/OrthancServer/ServerEnumerations.cpp - ${ORTHANC_ROOT}/OrthancServer/ToDcmtkBridge.cpp - ${ORTHANC_ROOT}/Plugins/Engine/SharedLibrary.cpp - ${ORTHANC_ROOT}/Resources/ThirdParty/base64/base64.cpp - ) - set(ORTHANC_WSI_SOURCES #${ORTHANC_WSI_DIR}/Framework/Messaging/PluginOrthancConnection.cpp ${ORTHANC_WSI_DIR}/Framework/Algorithms/PyramidReader.cpp @@ -171,6 +140,39 @@ ${ORTHANC_WSI_DIR}/Framework/Outputs/TruncatedPyramidWriter.cpp ) +set(ORTHANC_CORE_SOURCES + ${ORTHANC_ROOT}/Core/ChunkedBuffer.cpp + ${ORTHANC_ROOT}/Core/DicomFormat/DicomArray.cpp + ${ORTHANC_ROOT}/Core/DicomFormat/DicomMap.cpp + ${ORTHANC_ROOT}/Core/DicomFormat/DicomTag.cpp + ${ORTHANC_ROOT}/Core/DicomFormat/DicomValue.cpp + ${ORTHANC_ROOT}/Core/Enumerations.cpp + ${ORTHANC_ROOT}/Core/HttpClient.cpp + ${ORTHANC_ROOT}/Core/Images/IImageWriter.cpp + ${ORTHANC_ROOT}/Core/Images/Image.cpp + ${ORTHANC_ROOT}/Core/Images/ImageAccessor.cpp + ${ORTHANC_ROOT}/Core/Images/ImageBuffer.cpp + ${ORTHANC_ROOT}/Core/Images/ImageProcessing.cpp + ${ORTHANC_ROOT}/Core/Images/JpegErrorManager.cpp + ${ORTHANC_ROOT}/Core/Images/JpegReader.cpp + ${ORTHANC_ROOT}/Core/Images/JpegWriter.cpp + ${ORTHANC_ROOT}/Core/Images/PngReader.cpp + ${ORTHANC_ROOT}/Core/Images/PngWriter.cpp + ${ORTHANC_ROOT}/Core/Logging.cpp + ${ORTHANC_ROOT}/Core/MultiThreading/BagOfTasksProcessor.cpp + ${ORTHANC_ROOT}/Core/MultiThreading/SharedMessageQueue.cpp + ${ORTHANC_ROOT}/Core/Toolbox.cpp + ${ORTHANC_ROOT}/Core/Uuid.cpp + ${ORTHANC_ROOT}/Core/WebServiceParameters.cpp + ${ORTHANC_ROOT}/OrthancServer/FromDcmtkBridge.cpp + ${ORTHANC_ROOT}/OrthancServer/ServerEnumerations.cpp + ${ORTHANC_ROOT}/OrthancServer/ToDcmtkBridge.cpp + ${ORTHANC_ROOT}/Plugins/Engine/SharedLibrary.cpp + ${ORTHANC_ROOT}/Resources/ThirdParty/base64/base64.cpp + ) + +source_group(ThirdParty\\OrthancCore REGULAR_EXPRESSION ${ORTHANC_ROOT}/.*) + ##################################################################### ## Setup precompiled headers for Microsoft Visual Studio diff -r 6e84b48851f7 -r 8fbe705e3d92 ViewerPlugin/CMakeLists.txt --- a/ViewerPlugin/CMakeLists.txt Thu Oct 27 11:44:39 2016 +0200 +++ b/ViewerPlugin/CMakeLists.txt Thu Oct 27 11:53:00 2016 +0200 @@ -155,6 +155,22 @@ ## precompiled headers ##################################################################### +set(ORTHANC_WSI_SOURCES + Plugin.cpp + ${ORTHANC_WSI_DIR}/Framework/DicomToolbox.cpp + ${ORTHANC_WSI_DIR}/Framework/Enumerations.cpp + ${ORTHANC_WSI_DIR}/Framework/ImageToolbox.cpp + ${ORTHANC_WSI_DIR}/Framework/Inputs/DicomPyramid.cpp + ${ORTHANC_WSI_DIR}/Framework/Inputs/DicomPyramidInstance.cpp + ${ORTHANC_WSI_DIR}/Framework/Inputs/DicomPyramidLevel.cpp + ${ORTHANC_WSI_DIR}/Framework/Inputs/PyramidWithRawTiles.cpp + ${ORTHANC_WSI_DIR}/Framework/Jpeg2000Reader.cpp + ${ORTHANC_WSI_DIR}/Framework/Jpeg2000Writer.cpp + ${ORTHANC_WSI_DIR}/Framework/Messaging/IOrthancConnection.cpp + ${ORTHANC_WSI_DIR}/Framework/Messaging/OrthancConnectionBase.cpp + ${ORTHANC_WSI_DIR}/Framework/Messaging/PluginOrthancConnection.cpp + ) + set(ORTHANC_CORE_SOURCES ${ORTHANC_ROOT}/Core/ChunkedBuffer.cpp ${ORTHANC_ROOT}/Core/Enumerations.cpp @@ -174,21 +190,7 @@ ${ORTHANC_ROOT}/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp ) -set(ORTHANC_WSI_SOURCES - Plugin.cpp - ${ORTHANC_WSI_DIR}/Framework/DicomToolbox.cpp - ${ORTHANC_WSI_DIR}/Framework/Enumerations.cpp - ${ORTHANC_WSI_DIR}/Framework/ImageToolbox.cpp - ${ORTHANC_WSI_DIR}/Framework/Inputs/DicomPyramid.cpp - ${ORTHANC_WSI_DIR}/Framework/Inputs/DicomPyramidInstance.cpp - ${ORTHANC_WSI_DIR}/Framework/Inputs/DicomPyramidLevel.cpp - ${ORTHANC_WSI_DIR}/Framework/Inputs/PyramidWithRawTiles.cpp - ${ORTHANC_WSI_DIR}/Framework/Jpeg2000Reader.cpp - ${ORTHANC_WSI_DIR}/Framework/Jpeg2000Writer.cpp - ${ORTHANC_WSI_DIR}/Framework/Messaging/IOrthancConnection.cpp - ${ORTHANC_WSI_DIR}/Framework/Messaging/OrthancConnectionBase.cpp - ${ORTHANC_WSI_DIR}/Framework/Messaging/PluginOrthancConnection.cpp - ) +source_group(ThirdParty\\OrthancCore REGULAR_EXPRESSION ${ORTHANC_ROOT}/.*) #####################################################################