mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This is in preparation to make the code here more target agnostic for porting to the Windows threading primitives. This is used pretty extensively in the tests, so disabling tests would lose a chunk of coverage.
19 lines
633 B
CMake
19 lines
633 B
CMake
add_swift_target_library(swiftSwiftPrivateThreadExtras ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB
|
|
# This file should be listed the first. Module name is inferred from the
|
|
# filename.
|
|
SwiftPrivateThreadExtras.swift
|
|
ThreadBarriers.swift
|
|
|
|
SWIFT_MODULE_DEPENDS_IOS Darwin
|
|
SWIFT_MODULE_DEPENDS_OSX Darwin
|
|
SWIFT_MODULE_DEPENDS_TVOS Darwin
|
|
SWIFT_MODULE_DEPENDS_WATCHOS Darwin
|
|
SWIFT_MODULE_DEPENDS_LINUX Glibc
|
|
SWIFT_MODULE_DEPENDS_FREEBSD Glibc
|
|
SWIFT_MODULE_DEPENDS_CYGWIN Glibc
|
|
SWIFT_MODULE_DEPENDS_HAIKU Glibc
|
|
SWIFT_COMPILE_FLAGS
|
|
TARGET_SDKS ALL_POSIX_PLATFORMS
|
|
INSTALL_IN_COMPONENT stdlib-experimental)
|
|
|