comparison CMakeLists.txt @ 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
comparison
equal deleted inserted replaced
7:5217b1be6c4a 8:da3228ac9227
71 include_directories( 71 include_directories(
72 ${AUTOGENERATED_DIR} 72 ${AUTOGENERATED_DIR}
73 ${ORTHANC_ROOT} 73 ${ORTHANC_ROOT}
74 ) 74 )
75 75
76 if (ON)
77 # Redefine the list of Orthanc sources, removing unused items, in
78 # order to reduce the number of files and speed up the builds
79 set(ORTHANC_CORE_SOURCES
80 ${ORTHANC_CORE_SOURCES_DEPENDENCIES}
81 ${ORTHANC_ROOT}/Core/ChunkedBuffer.cpp
82 ${ORTHANC_ROOT}/Core/Enumerations.cpp
83 ${ORTHANC_ROOT}/Core/HttpClient.cpp
84 ${ORTHANC_ROOT}/Core/Logging.cpp
85 ${ORTHANC_ROOT}/Core/SystemToolbox.cpp
86 ${ORTHANC_ROOT}/Core/Toolbox.cpp
87 )
88 endif()
89
76 add_library(OrthancGoogleCloudPlatform SHARED 90 add_library(OrthancGoogleCloudPlatform SHARED
77 ${ORTHANC_ROOT}/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp 91 ${ORTHANC_ROOT}/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp
78 Plugin/GoogleAccount.cpp 92 Plugin/GoogleAccount.cpp
79 Plugin/GoogleConfiguration.cpp 93 Plugin/GoogleConfiguration.cpp
80 Plugin/GoogleUpdater.cpp 94 Plugin/GoogleUpdater.cpp