mirror of
https://github.com/apple/swift-collections
synced 2026-11-25 04:37:48 +00:00
# Conflicts: # Sources/CMakeLists.txt # Sources/InternalCollectionsUtilities/Compatibility/UnsafeMutableBufferPointer+SE-0370.swift.gyb # Sources/InternalCollectionsUtilities/Compatibility/UnsafeMutablePointer+SE-0370.swift.gyb # Sources/InternalCollectionsUtilities/Compatibility/UnsafeRawPointer extensions.swift.gyb # Sources/InternalCollectionsUtilities/Compatibility/autogenerated/UnsafeMutableBufferPointer+SE-0370.swift # Sources/InternalCollectionsUtilities/Compatibility/autogenerated/UnsafeMutablePointer+SE-0370.swift # Sources/InternalCollectionsUtilities/Compatibility/autogenerated/UnsafeRawPointer extensions.swift # Sources/InternalCollectionsUtilities/Specialize.swift.gyb # Sources/InternalCollectionsUtilities/autogenerated/Specialize.swift
39 lines
1.5 KiB
CMake
39 lines
1.5 KiB
CMake
#[[
|
|
This source file is part of the Swift Collections Open Source Project
|
|
|
|
Copyright (c) 2022 - 2024 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
|
|
#]]
|
|
|
|
if(COLLECTIONS_SINGLE_MODULE)
|
|
set(module_name ${COLLECTIONS_MODULE_NAME})
|
|
else()
|
|
set(module_name InternalCollectionsUtilities)
|
|
add_library(InternalCollectionsUtilities
|
|
${COLLECTIONS_UTILITIES_SOURCES})
|
|
set_target_properties(InternalCollectionsUtilities PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})
|
|
|
|
_install_target(InternalCollectionsUtilities)
|
|
set_property(GLOBAL APPEND PROPERTY SWIFT_COLLECTIONS_EXPORTS InternalCollectionsUtilities)
|
|
endif()
|
|
|
|
target_sources(${module_name} PRIVATE
|
|
"autogenerated/Debugging.swift"
|
|
"autogenerated/Descriptions.swift"
|
|
"autogenerated/RandomAccessCollection+Offsets.swift"
|
|
"autogenerated/UnsafeBufferPointer+Extras.swift"
|
|
"autogenerated/UnsafeMutableBufferPointer+Extras.swift"
|
|
"IntegerTricks/autogenerated/FixedWidthInteger+roundUpToPowerOfTwo.swift"
|
|
"IntegerTricks/autogenerated/Integer rank.swift"
|
|
"IntegerTricks/autogenerated/UInt+first and last set bit.swift"
|
|
"IntegerTricks/autogenerated/UInt+reversed.swift"
|
|
"UnsafeBitSet/autogenerated/_UnsafeBitSet+Index.swift"
|
|
"UnsafeBitSet/autogenerated/_UnsafeBitSet+_Word.swift"
|
|
"UnsafeBitSet/autogenerated/_UnsafeBitSet.swift"
|
|
"_SortedCollection.swift"
|
|
"_UniqueCollection.swift"
|
|
)
|