comparison CMakeLists.txt @ 71:30fb3ce960d9

configurable user permissions
author Alain Mazy <am@osimis.io>
date Wed, 22 Feb 2023 13:13:38 +0100
parents af44dce56328
children 94a9484d7f8f
comparison
equal deleted inserted replaced
70:786b202ef24e 71:30fb3ce960d9
122 add_definitions( 122 add_definitions(
123 -DHAS_ORTHANC_EXCEPTION=1 123 -DHAS_ORTHANC_EXCEPTION=1
124 -DORTHANC_ENABLE_LOGGING_PLUGIN=1 124 -DORTHANC_ENABLE_LOGGING_PLUGIN=1
125 ) 125 )
126 126
127 set(ADDITIONAL_RESOURCES
128 DEFAULT_CONFIGURATION ${CMAKE_SOURCE_DIR}/Plugin/DefaultConfiguration.json
129 )
130
131 EmbedResources(
132 --no-upcase-check
133 ${ADDITIONAL_RESOURCES}
134 )
135
127 add_library(OrthancAuthorization SHARED 136 add_library(OrthancAuthorization SHARED
128 ${CMAKE_SOURCE_DIR}/Plugin/AccessedResource.cpp 137 ${CMAKE_SOURCE_DIR}/Plugin/AccessedResource.cpp
129 ${CMAKE_SOURCE_DIR}/Plugin/AssociativeArray.cpp 138 ${CMAKE_SOURCE_DIR}/Plugin/AssociativeArray.cpp
130 ${CMAKE_SOURCE_DIR}/Plugin/AuthorizationParserBase.cpp 139 ${CMAKE_SOURCE_DIR}/Plugin/AuthorizationParserBase.cpp
131 ${CMAKE_SOURCE_DIR}/Plugin/AuthorizationWebService.cpp 140 ${CMAKE_SOURCE_DIR}/Plugin/AuthorizationWebService.cpp
132 ${CMAKE_SOURCE_DIR}/Plugin/CachedAuthorizationService.cpp 141 ${CMAKE_SOURCE_DIR}/Plugin/CachedAuthorizationService.cpp
133 ${CMAKE_SOURCE_DIR}/Plugin/DefaultAuthorizationParser.cpp 142 ${CMAKE_SOURCE_DIR}/Plugin/DefaultAuthorizationParser.cpp
134 ${CMAKE_SOURCE_DIR}/Plugin/Enumerations.cpp 143 ${CMAKE_SOURCE_DIR}/Plugin/Enumerations.cpp
135 ${CMAKE_SOURCE_DIR}/Plugin/MemoryCache.cpp 144 ${CMAKE_SOURCE_DIR}/Plugin/MemoryCache.cpp
136 ${CMAKE_SOURCE_DIR}/Plugin/OrthancResource.cpp 145 ${CMAKE_SOURCE_DIR}/Plugin/OrthancResource.cpp
146 ${CMAKE_SOURCE_DIR}/Plugin/PermissionParser.cpp
137 ${CMAKE_SOURCE_DIR}/Plugin/Plugin.cpp 147 ${CMAKE_SOURCE_DIR}/Plugin/Plugin.cpp
138 ${CMAKE_SOURCE_DIR}/Plugin/ResourceHierarchyCache.cpp 148 ${CMAKE_SOURCE_DIR}/Plugin/ResourceHierarchyCache.cpp
139 ${CMAKE_SOURCE_DIR}/Plugin/Token.cpp 149 ${CMAKE_SOURCE_DIR}/Plugin/Token.cpp
140 ${CMAKE_SOURCE_DIR}/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp 150 ${CMAKE_SOURCE_DIR}/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp
141 ${ORTHANC_CORE_SOURCES} 151 ${ORTHANC_CORE_SOURCES}