Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CMake build configuration #230

Merged
merged 1 commit into from Oct 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions Sources/BitCollections/CMakeLists.txt
Expand Up @@ -56,6 +56,7 @@ add_library(BitCollections
"BitSet/BitSet+SetAlgebra subtracting.swift"
"BitSet/BitSet+SetAlgebra symmetricDifference.swift"
"BitSet/BitSet+SetAlgebra union.swift"
"BitSet/BitSet+Sorted Collection APIs.swift"
"BitSet/BitSet.Counted.swift"
"BitSet/BitSet.Index.swift"
"BitSet/BitSet._UnsafeHandle.swift"
Expand Down
2 changes: 1 addition & 1 deletion Sources/CMakeLists.txt
Expand Up @@ -7,8 +7,8 @@ Licensed under Apache License v2.0 with Runtime Library Exception
See https://swift.org/LICENSE.txt for license information
#]]

add_subdirectory(Collections)
add_subdirectory(BitCollections)
add_subdirectory(Collections)
add_subdirectory(DequeModule)
add_subdirectory(HeapModule)
add_subdirectory(OrderedCollections)
Expand Down
2 changes: 1 addition & 1 deletion Sources/Collections/CMakeLists.txt
Expand Up @@ -8,7 +8,7 @@ See https://swift.org/LICENSE.txt for license information
#]]

add_library(Collections
Collections.swift)
"Collections.swift")
target_link_libraries(Collections PRIVATE
BitCollections
DequeModule
Expand Down
11 changes: 6 additions & 5 deletions Sources/HeapModule/CMakeLists.txt
Expand Up @@ -8,11 +8,12 @@ See https://swift.org/LICENSE.txt for license information
#]]

add_library(HeapModule
_Node.swift
Heap.swift
Heap+ExpressibleByArrayLiteral.swift
Heap+Invariants.swift
Heap+UnsafeHandle.swift)
"_Node.swift"
"Heap.swift"
"Heap+Descriptions.swift"
"Heap+ExpressibleByArrayLiteral.swift"
"Heap+Invariants.swift"
"Heap+UnsafeHandle.swift")
target_link_libraries(HeapModule PRIVATE
_CollectionsUtilities)
set_target_properties(HeapModule PROPERTIES
Expand Down
15 changes: 11 additions & 4 deletions Sources/OrderedCollections/CMakeLists.txt
Expand Up @@ -16,13 +16,13 @@ add_library(OrderedCollections
"HashTable/_Hashtable+Header.swift"
"HashTable/_HashTable+Testing.swift"
"HashTable/_HashTable+UnsafeHandle.swift"
"OrderedDictionary/OrderedDictionary.Elements.swift"
"OrderedDictionary/OrderedDictionary.swift"
"OrderedDictionary/OrderedDictionary+Codable.swift"
"OrderedDictionary/OrderedDictionary+CustomReflectable.swift"
"OrderedDictionary/OrderedDictionary+Deprecations.swift"
"OrderedDictionary/OrderedDictionary+Descriptions.swift"
"OrderedDictionary/OrderedDictionary+Elements+SubSequence.swift"
"OrderedDictionary/OrderedDictionary+Elements.SubSequence.swift"
"OrderedDictionary/OrderedDictionary+Elements.swift"
"OrderedDictionary/OrderedDictionary+Equatable.swift"
"OrderedDictionary/OrderedDictionary+ExpressibleByDictionaryLiteral.swift"
"OrderedDictionary/OrderedDictionary+Hashable.swift"
Expand All @@ -33,7 +33,6 @@ add_library(OrderedCollections
"OrderedDictionary/OrderedDictionary+Sendable.swift"
"OrderedDictionary/OrderedDictionary+Sequence.swift"
"OrderedDictionary/OrderedDictionary+Values.swift"
"OrderedSet/OrderedSet.swift"
"OrderedSet/OrderedSet+Codable.swift"
"OrderedSet/OrderedSet+CustomReflectable.swift"
"OrderedSet/OrderedSet+Descriptions.swift"
Expand All @@ -46,21 +45,29 @@ add_library(OrderedCollections
"OrderedSet/OrderedSet+Invariants.swift"
"OrderedSet/OrderedSet+Partial MutableCollection.swift"
"OrderedSet/OrderedSet+Partial RangeReplaceableCollection.swift"
"OrderedSet/OrderedSet+Partial SetAlgebra formIntersection.swift"
"OrderedSet/OrderedSet+Partial SetAlgebra formSymmetricDifference.swift"
"OrderedSet/OrderedSet+Partial SetAlgebra formUnion.swift"
"OrderedSet/OrderedSet+Partial SetAlgebra intersection.swift"
"OrderedSet/OrderedSet+Partial SetAlgebra isDisjoint.swift"
"OrderedSet/OrderedSet+Partial SetAlgebra isEqual.swift"
"OrderedSet/OrderedSet+Partial SetAlgebra isStrictSubset.swift"
"OrderedSet/OrderedSet+Partial SetAlgebra isStrictSuperset.swift"
"OrderedSet/OrderedSet+Partial SetAlgebra isSubset.swift"
"OrderedSet/OrderedSet+Partial SetAlgebra isSuperset.swift"
"OrderedSet/OrderedSet+Partial SetAlgebra subtract.swift"
"OrderedSet/OrderedSet+Partial SetAlgebra subtracting.swift"
"OrderedSet/OrderedSet+Partial SetAlgebra symmetricDifference.swift"
"OrderedSet/OrderedSet+Partial SetAlgebra union.swift"
"OrderedSet/OrderedSet+Partial SetAlgebra+Basics.swift"
"OrderedSet/OrderedSet+Partial SetAlgebra+Operations.swift"
"OrderedSet/OrderedSet+RandomAccessCollection.swift"
"OrderedSet/OrderedSet+ReserveCapacity.swift"
"OrderedSet/OrderedSet+Sendable.swift"
"OrderedSet/OrderedSet+SubSequence.swift"
"OrderedSet/OrderedSet+Testing.swift"
"OrderedSet/OrderedSet+UnorderedView.swift"
"OrderedSet/OrderedSet+UnstableInternals.swift"
"OrderedSet/OrderedSet.swift"
"Utilities/_UnsafeBitset.swift"
)
target_link_libraries(OrderedCollections PRIVATE
Expand Down
1 change: 1 addition & 0 deletions Sources/PersistentCollections/CMakeLists.txt
Expand Up @@ -55,6 +55,7 @@ add_library(PersistentCollections
"PersistentDictionary/PersistentDictionary+Equatable.swift"
"PersistentDictionary/PersistentDictionary+ExpressibleByDictionaryLiteral.swift"
"PersistentDictionary/PersistentDictionary+Filter.swift"
"PersistentDictionary/PersistentDictionary+Fluent Operations.swift"
"PersistentDictionary/PersistentDictionary+Hashable.swift"
"PersistentDictionary/PersistentDictionary+Initializers.swift"
"PersistentDictionary/PersistentDictionary+Keys.swift"
Expand Down