mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
UIViewController is able to find nib files that have names derived from the UIViewController subclass's name. This change modifies UIViewController's lookup so it is able to find nib files for Swift class names. Swift SVN r18470
14 lines
338 B
CMake
14 lines
338 B
CMake
set(SHARED_LIBRARY ON)
|
|
add_swift_library(swiftUIKit INSTALL
|
|
DesignatedInitializers.mm
|
|
UIViewControllerAdditions.mm
|
|
UIKit.swift
|
|
DEPENDS swift_stdlib_core swiftObjectiveC swiftFoundation)
|
|
|
|
add_swift_optimization_flags(swiftUIKit)
|
|
|
|
# Link against frameworks
|
|
target_link_libraries(swiftUIKit
|
|
swift_stdlib_core
|
|
"-framework UIKit")
|