Files
swift-mirror/stdlib/objc/CMakeLists.txt
Jordan Rose 940d53c864 Fix definition of "nil": it has to be null, not a default-initialized NSObject.
This ended up being easiest with a runtime function. I couldn't push this
into the standard library because the standard library doesn't know about
NSObject, and I couldn't compile the ObjectiveC module as -parse-stdlib
because it uses standard library types and doesn't otherwise know how to
find the "swift" module.

Swift SVN r7581
2013-08-26 18:57:45 +00:00

10 lines
219 B
CMake

# Build the swiftObjC dylib.
set(SHARED_LIBRARY ON)
add_swift_library(swiftObjectiveC INSTALL
ObjectiveC.swift
BridgeObjectiveC.mm
DEPENDS swift_stdlib_core)
add_subdirectory(Foundation)
add_subdirectory(AppKit)