mirror of
https://github.com/apple/swift-collections
synced 2026-11-26 04:47:48 +00:00
39 lines
1.1 KiB
CMake
39 lines
1.1 KiB
CMake
#[[
|
|
This source file is part of the Swift Collections Open Source Project
|
|
|
|
Copyright (c) 2024 - 2025 Apple Inc. and the Swift project authors
|
|
Licensed under Apache License v2.0 with Runtime Library Exception
|
|
|
|
See https://swift.org/LICENSE.txt for license information
|
|
#]]
|
|
|
|
add_library(Future
|
|
"Span/LifetimeOverride.swift"
|
|
"Span/MutableRawSpan.swift"
|
|
"Span/MutableSpan.swift"
|
|
"Span/MutableSpanSlicing.swift"
|
|
"Span/OutputSpan.swift"
|
|
"Span/SpanExtensions.swift"
|
|
"Span/StdlibOutputSpanExtensions.swift"
|
|
"Span/UnsafeBufferPointer+Additions.swift"
|
|
"Containers/Container.swift"
|
|
"Containers/DynamicArray.swift"
|
|
"Containers/NewArray.swift"
|
|
"Containers/RigidArray.swift"
|
|
"Containers/Shared.swift"
|
|
"Borrow.swift"
|
|
"Box.swift"
|
|
"ContiguousStorage.swift"
|
|
"Inout.swift"
|
|
"Span+Iterator.swift"
|
|
"StdlibAdditions.swift"
|
|
)
|
|
|
|
target_link_libraries(Future PRIVATE
|
|
InternalCollectionsUtilities)
|
|
set_target_properties(Future PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})
|
|
|
|
_install_target(Future)
|
|
set_property(GLOBAL APPEND PROPERTY SWIFT_COLLECTIONS_EXPORTS Future)
|