Mercurial > hg > orthanc-gcp
changeset 8:da3228ac9227
reduce the number of sources
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 13 Jun 2019 17:19:44 +0200 |
parents | 5217b1be6c4a |
children | c46ed3cd5ddc |
files | CMakeLists.txt |
diffstat | 1 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/CMakeLists.txt Thu Jun 13 17:09:17 2019 +0200 +++ b/CMakeLists.txt Thu Jun 13 17:19:44 2019 +0200 @@ -73,6 +73,20 @@ ${ORTHANC_ROOT} ) +if (ON) + # Redefine the list of Orthanc sources, removing unused items, in + # order to reduce the number of files and speed up the builds + set(ORTHANC_CORE_SOURCES + ${ORTHANC_CORE_SOURCES_DEPENDENCIES} + ${ORTHANC_ROOT}/Core/ChunkedBuffer.cpp + ${ORTHANC_ROOT}/Core/Enumerations.cpp + ${ORTHANC_ROOT}/Core/HttpClient.cpp + ${ORTHANC_ROOT}/Core/Logging.cpp + ${ORTHANC_ROOT}/Core/SystemToolbox.cpp + ${ORTHANC_ROOT}/Core/Toolbox.cpp + ) +endif() + add_library(OrthancGoogleCloudPlatform SHARED ${ORTHANC_ROOT}/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Plugin/GoogleAccount.cpp