Files
swift-mirror/stdlib/private/OSLog/CMakeLists.txt
Ravi Kandhadai b7e8f76108 [stdlib/private][os log] Simplify the OSLogPrototype stdlib-private
module to contain only code necessary for testing the compiler
optimizations and diagnostics. This commit comprises the following changes:

1. Rename the OSLogPrototype module to OSLogTestHelper and rename the files.
2. Make the private module: OSLogTestHelper independent of os overlay.
3. Simplify the os log test suites and make them not perform logging.
4. Enable the os log test suites on all platforms.

<rdar://problem/60542172>
2020-03-27 01:18:04 -07:00

22 lines
681 B
CMake

add_swift_target_library(swiftOSLogTestHelper
IS_SDK_OVERLAY
SHARED
OSLogTestHelper.swift
OSLogMessage.swift
OSLogIntegerFormatting.swift
OSLogStringAlignment.swift
OSLogIntegerTypes.swift
OSLogStringTypes.swift
OSLogNSObjectType.swift
OSLogFloatingPointTypes.swift
SWIFT_MODULE_DEPENDS_IOS Darwin ObjectiveC
SWIFT_MODULE_DEPENDS_OSX Darwin ObjectiveC
SWIFT_MODULE_DEPENDS_TVOS Darwin ObjectiveC
SWIFT_MODULE_DEPENDS_WATCHOS Darwin ObjectiveC
TARGET_SDKS ALL_APPLE_PLATFORMS
SWIFT_COMPILE_FLAGS ${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS}
INSTALL_IN_COMPONENT never_install
DARWIN_INSTALL_NAME_DIR "${SWIFT_DARWIN_STDLIB_PRIVATE_INSTALL_NAME_DIR}")