mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The true designated initializers take a variadic argument, which we can't directly support in Swift, so we'll map those definitions to refer to versions that drop the variadic parameters altogether, and reimplement the variadic interface in the overlay. Swift SVN r16711
12 lines
287 B
CMake
12 lines
287 B
CMake
set(SHARED_LIBRARY ON)
|
|
add_swift_library(swiftUIKit INSTALL
|
|
DesignatedInitializers.mm
|
|
UIKit.swift
|
|
DEPENDS swift_stdlib_core swiftObjectiveC swiftFoundation)
|
|
|
|
add_swift_optimization_flags(swiftUIKit)
|
|
|
|
# Link against frameworks
|
|
target_link_libraries(swiftUIKit
|
|
"-framework UIKit")
|