mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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>
22 lines
681 B
CMake
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}")
|