Files
swift-mirror/stdlib/private/StdlibCollectionUnittest/CMakeLists.txt
Ben Cohen 345879429b [stdlib] Take several underscored stdlib functions private (#18134)
* Make _sanityCheck internal

* Make _debugPrecondition internal

* Make Optional._unsafelyUnwrappedUnchecked internal.

* Make _precondition internal

* Switch Foundation _sanityChecks to assertions

* Update file check tests

* Remove one more _debugPrecondition

* Update Optimization-with-check tests
2018-07-24 18:26:19 -07:00

31 lines
1018 B
CMake

set(swift_stdlib_unittest_compile_flags)
# TODO: support this on non-POSIX platforms. It cannot be currently as it
# depends on pthreads.
add_swift_library(swiftStdlibCollectionUnittest ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB
# This file should be listed the first. Module name is inferred from the
# filename.
StdlibCollectionUnittest.swift
CheckCollectionInstance.swift
CheckCollectionType.swift
CheckMutableCollectionType.swift
CheckRangeReplaceableCollectionType.swift
CheckRangeReplaceableSliceType.swift
CheckSequenceInstance.swift
CheckSequenceType.swift
LoggingWrappers.swift
MinimalCollections.swift
RangeSelection.swift
WriteBackMutableSlice.swift
SWIFT_MODULE_DEPENDS StdlibUnittest
SWIFT_MODULE_DEPENDS_LINUX Glibc
SWIFT_MODULE_DEPENDS_FREEBSD Glibc
SWIFT_MODULE_DEPENDS_CYGWIN Glibc
SWIFT_MODULE_DEPENDS_HAIKU Glibc
SWIFT_COMPILE_FLAGS ${swift_stdlib_unittest_compile_flags}
TARGET_SDKS ALL_POSIX_PLATFORMS
INSTALL_IN_COMPONENT stdlib-experimental)