#===----------------------------------------------------------------------===# # # This source file is part of the Swift Logging API open source project # # Copyright (c) 2018-2026 Apple Inc. and the Swift Logging API project authors # Licensed under Apache License v2.0 # # See LICENSE.txt for license information # See CONTRIBUTORS.txt for the list of Swift Logging API project authors # # SPDX-License-Identifier: Apache-2.0 # #===----------------------------------------------------------------------===# add_library(Logging "Handlers/MultiplexLogHandler.swift" "Handlers/StreamLogHandler.swift" "Handlers/SwiftLogNoOpLogHandler.swift" "Locks.swift" "LogEvent.swift" "LogHandler.swift" "Logger+Attributes.swift" "Logger+With.swift" "Logger.swift" "LoggingSystem.swift" "MetadataProvider.swift" ) set_target_properties(Logging PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "$>;$>") target_compile_options(Logging PRIVATE ${SWIFT_LOG_COMMON_COMPILE_OPTIONS}) _install_target(Logging) set_property(GLOBAL APPEND PROPERTY SwiftLog_EXPORTS Logging)