Files
swift-mirror/stdlib/objc/AppKit/CMakeLists.txt
Joe Groff 3e30cbcfef SILGen/IRGen: Don't emit top_level_code for libraries.
If there's no script-mode file in a module, don't produce a top_level_code SILFunction for it, and don't consider emitting an LLVM global_ctor for it. We should never emit static constructors from user code anymore.

Swift SVN r11644
2013-12-26 00:18:29 +00:00

11 lines
286 B
CMake

set(SHARED_LIBRARY ON)
add_swift_library(swiftAppKit INSTALL
AppKit.swift
DEPENDS swift_stdlib_core swiftObjectiveC swiftFoundation)
add_swift_optimization_flags(swiftAppKit)
# Link against frameworks
target_link_libraries(swiftAppKit
"-framework AppKit -framework QuartzCore")