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