-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #200 from lorentey/update-cmake-for-1.1
Update CMake configuration in preparation for 1.1
- Loading branch information
Showing
11 changed files
with
246 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
#[[ | ||
This source file is part of the Swift Collections Open Source Project | ||
|
||
Copyright (c) 2022 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(BitCollections | ||
"BitArray/BitArray+BitwiseOperations.swift" | ||
"BitArray/BitArray+ChunkedBitsIterators.swift" | ||
"BitArray/BitArray+Codable.swift" | ||
"BitArray/BitArray+Collection.swift" | ||
"BitArray/BitArray+Copy.swift" | ||
"BitArray/BitArray+CustomDebugStringConvertible.swift" | ||
"BitArray/BitArray+CustomReflectable.swift" | ||
"BitArray/BitArray+CustomStringConvertible.swift" | ||
"BitArray/BitArray+Equatable.swift" | ||
"BitArray/BitArray+ExpressibleByArrayLiteral.swift" | ||
"BitArray/BitArray+Extras.swift" | ||
"BitArray/BitArray+Fill.swift" | ||
"BitArray/BitArray+Hashable.swift" | ||
"BitArray/BitArray+Initializers.swift" | ||
"BitArray/BitArray+Invariants.swift" | ||
"BitArray/BitArray+Random.swift" | ||
"BitArray/BitArray+RangeReplaceableCollection.swift" | ||
"BitArray/BitArray+Testing.swift" | ||
"BitArray/BitArray._UnsafeHandle.swift" | ||
"BitArray/BitArray.swift" | ||
"BitSet/BitSet+BidirectionalCollection.swift" | ||
"BitSet/BitSet+Codable.swift" | ||
"BitSet/BitSet+CustomDebugStringConvertible.swift" | ||
"BitSet/BitSet+CustomReflectable.swift" | ||
"BitSet/BitSet+CustomStringConvertible.swift" | ||
"BitSet/BitSet+Equatable.swift" | ||
"BitSet/BitSet+ExpressibleByArrayLiteral.swift" | ||
"BitSet/BitSet+Extras.swift" | ||
"BitSet/BitSet+Hashable.swift" | ||
"BitSet/BitSet+Initializers.swift" | ||
"BitSet/BitSet+Invariants.swift" | ||
"BitSet/BitSet+Random.swift" | ||
"BitSet/BitSet+SetAlgebra basics.swift" | ||
"BitSet/BitSet+SetAlgebra conformance.swift" | ||
"BitSet/BitSet+SetAlgebra formIntersection.swift" | ||
"BitSet/BitSet+SetAlgebra formSymmetricDifference.swift" | ||
"BitSet/BitSet+SetAlgebra formUnion.swift" | ||
"BitSet/BitSet+SetAlgebra intersection.swift" | ||
"BitSet/BitSet+SetAlgebra isDisjoint.swift" | ||
"BitSet/BitSet+SetAlgebra isStrictSubset.swift" | ||
"BitSet/BitSet+SetAlgebra isStrictSuperset.swift" | ||
"BitSet/BitSet+SetAlgebra isSubset.swift" | ||
"BitSet/BitSet+SetAlgebra isSuperset.swift" | ||
"BitSet/BitSet+SetAlgebra subtract.swift" | ||
"BitSet/BitSet+SetAlgebra subtracting.swift" | ||
"BitSet/BitSet+SetAlgebra symmetricDifference.swift" | ||
"BitSet/BitSet+SetAlgebra union.swift" | ||
"BitSet/BitSet.Counted.swift" | ||
"BitSet/BitSet.Index.swift" | ||
"BitSet/BitSet._UnsafeHandle.swift" | ||
"BitSet/BitSet.swift" | ||
"Shared/Range+Utilities.swift" | ||
"Shared/Slice+Utilities.swift" | ||
"Shared/UInt+Tricks.swift" | ||
"Shared/_BitPosition.swift" | ||
"Shared/_Word.swift" | ||
) | ||
target_link_libraries(BitCollections PRIVATE | ||
_CollectionsUtilities) | ||
set_target_properties(BitCollections PROPERTIES | ||
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY}) | ||
|
||
_install_target(BitCollections) | ||
set_property(GLOBAL APPEND PROPERTY SWIFT_COLLECTIONS_EXPORTS BitCollections) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
#[[ | ||
This source file is part of the Swift Collections Open Source Project | ||
|
||
Copyright (c) 2022 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(PersistentCollections | ||
"Node/_AncestorSlots.swift" | ||
"Node/_Bitmap.swift" | ||
"Node/_Bucket.swift" | ||
"Node/_Hash.swift" | ||
"Node/_HashTreeIterator.swift" | ||
"Node/_HashTreeStatistics.swift" | ||
"Node/_Level.swift" | ||
"Node/_Node+Builder.swift" | ||
"Node/_Node+CustomStringConvertible.swift" | ||
"Node/_Node+Debugging.swift" | ||
"Node/_Node+Initializers.swift" | ||
"Node/_Node+Invariants.swift" | ||
"Node/_Node+Lookups.swift" | ||
"Node/_Node+Primitive Insertions.swift" | ||
"Node/_Node+Primitive Removals.swift" | ||
"Node/_Node+Primitive Replacement.swift" | ||
"Node/_Node+Storage.swift" | ||
"Node/_Node+Structural compactMapValues.swift" | ||
"Node/_Node+Structural filter.swift" | ||
"Node/_Node+Structural intersection.swift" | ||
"Node/_Node+Structural isDisjoint.swift" | ||
"Node/_Node+Structural isEqual.swift" | ||
"Node/_Node+Structural isSubset.swift" | ||
"Node/_Node+Structural mapValues.swift" | ||
"Node/_Node+Structural merge.swift" | ||
"Node/_Node+Structural subtracting.swift" | ||
"Node/_Node+Structural symmetricDifference.swift" | ||
"Node/_Node+Structural union.swift" | ||
"Node/_Node+Subtree Insertions.swift" | ||
"Node/_Node+Subtree Modify.swift" | ||
"Node/_Node+Subtree Removals.swift" | ||
"Node/_Node+UnsafeHandle.swift" | ||
"Node/_Node.swift" | ||
"Node/_RawNode+UnsafeHandle.swift" | ||
"Node/_RawNode.swift" | ||
"Node/_Slot.swift" | ||
"Node/_Stack.swift" | ||
"Node/_StorageHeader.swift" | ||
"Node/_UnmanagedNode.swift" | ||
"Node/_UnsafePath.swift" | ||
"PersistentDictionary/PersistentDictionary+Codable.swift" | ||
"PersistentDictionary/PersistentDictionary+Collection.swift" | ||
"PersistentDictionary/PersistentDictionary+CustomReflectable.swift" | ||
"PersistentDictionary/PersistentDictionary+Debugging.swift" | ||
"PersistentDictionary/PersistentDictionary+Descriptions.swift" | ||
"PersistentDictionary/PersistentDictionary+Equatable.swift" | ||
"PersistentDictionary/PersistentDictionary+ExpressibleByDictionaryLiteral.swift" | ||
"PersistentDictionary/PersistentDictionary+Filter.swift" | ||
"PersistentDictionary/PersistentDictionary+Hashable.swift" | ||
"PersistentDictionary/PersistentDictionary+Initializers.swift" | ||
"PersistentDictionary/PersistentDictionary+Keys.swift" | ||
"PersistentDictionary/PersistentDictionary+MapValues.swift" | ||
"PersistentDictionary/PersistentDictionary+Merge.swift" | ||
"PersistentDictionary/PersistentDictionary+Sendable.swift" | ||
"PersistentDictionary/PersistentDictionary+Sequence.swift" | ||
"PersistentDictionary/PersistentDictionary+Values.swift" | ||
"PersistentDictionary/PersistentDictionary.swift" | ||
"PersistentSet/PersistentSet+Codable.swift" | ||
"PersistentSet/PersistentSet+Collection.swift" | ||
"PersistentSet/PersistentSet+CustomReflectable.swift" | ||
"PersistentSet/PersistentSet+Debugging.swift" | ||
"PersistentSet/PersistentSet+Descriptions.swift" | ||
"PersistentSet/PersistentSet+Equatable.swift" | ||
"PersistentSet/PersistentSet+ExpressibleByArrayLiteral.swift" | ||
"PersistentSet/PersistentSet+Extras.swift" | ||
"PersistentSet/PersistentSet+Filter.swift" | ||
"PersistentSet/PersistentSet+Hashable.swift" | ||
"PersistentSet/PersistentSet+Sendable.swift" | ||
"PersistentSet/PersistentSet+Sequence.swift" | ||
"PersistentSet/PersistentSet+SetAlgebra Initializers.swift" | ||
"PersistentSet/PersistentSet+SetAlgebra basics.swift" | ||
"PersistentSet/PersistentSet+SetAlgebra fluent basics.swift" | ||
"PersistentSet/PersistentSet+SetAlgebra formIntersection.swift" | ||
"PersistentSet/PersistentSet+SetAlgebra formSymmetricDifference.swift" | ||
"PersistentSet/PersistentSet+SetAlgebra formUnion.swift" | ||
"PersistentSet/PersistentSet+SetAlgebra intersection.swift" | ||
"PersistentSet/PersistentSet+SetAlgebra isDisjoint.swift" | ||
"PersistentSet/PersistentSet+SetAlgebra isEqual.swift" | ||
"PersistentSet/PersistentSet+SetAlgebra isStrictSubset.swift" | ||
"PersistentSet/PersistentSet+SetAlgebra isStrictSuperset.swift" | ||
"PersistentSet/PersistentSet+SetAlgebra isSubset.swift" | ||
"PersistentSet/PersistentSet+SetAlgebra isSuperset.swift" | ||
"PersistentSet/PersistentSet+SetAlgebra subtract.swift" | ||
"PersistentSet/PersistentSet+SetAlgebra subtracting.swift" | ||
"PersistentSet/PersistentSet+SetAlgebra symmetricDifference.swift" | ||
"PersistentSet/PersistentSet+SetAlgebra union.swift" | ||
"PersistentSet/PersistentSet.swift" | ||
) | ||
target_link_libraries(PersistentCollections PRIVATE | ||
_CollectionsUtilities) | ||
set_target_properties(PersistentCollections PROPERTIES | ||
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY}) | ||
|
||
_install_target(PersistentCollections) | ||
set_property(GLOBAL APPEND PROPERTY SWIFT_COLLECTIONS_EXPORTS PersistentCollections) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#[[ | ||
This source file is part of the Swift Collections Open Source Project | ||
|
||
Copyright (c) 2022 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(_CollectionsUtilities | ||
"Array+WithContiguousStorage Compatibility.swift" | ||
"CMakeLists.txt" | ||
"Debugging.swift" | ||
"Descriptions.swift" | ||
"IntegerTricks/FixedWidthInteger+roundUpToPowerOfTwo.swift" | ||
"IntegerTricks/Integer rank.swift" | ||
"IntegerTricks/UInt+first and last set bit.swift" | ||
"IntegerTricks/UInt+reversed.swift" | ||
"RandomAccessCollection+Offsets.swift" | ||
"UnsafeBufferPointer+Extras.swift" | ||
"UnsafeMutableBufferPointer+Extras.swift" | ||
"UnsafeMutableBufferPointer+SE-0370.swift" | ||
"UnsafeMutablePointer+SE-0370.swift" | ||
"UnsafeRawPointer extensions.swift" | ||
) | ||
set_target_properties(_CollectionsUtilities PROPERTIES | ||
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY}) | ||
|
||
_install_target(_CollectionsUtilities) | ||
set_property(GLOBAL APPEND PROPERTY SWIFT_COLLECTIONS_EXPORTS _CollectionsUtilities) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.