Files
swift-mirror/stdlib/objc/Foundation/CMakeLists.txt
Jordan Rose 5f4db71fc5 Remove KVOContext from the Foundation overlay.
We're recommending people just go with a global variable.

<rdar://problem/17272837>

Swift SVN r18837
2014-06-12 19:55:45 +00:00

17 lines
396 B
CMake

set(SHARED_LIBRARY ON)
set(SWIFTFOUNDATION_SOURCES
Foundation.swift
NSStringAPI.swift
Misc.mm
)
add_swift_library(swiftFoundation INSTALL
${SWIFTFOUNDATION_SOURCES}
DEPENDS swift_stdlib_core swiftObjectiveC swiftCoreGraphics swiftDispatch)
add_swift_optimization_flags(swiftFoundation)
# Link against frameworks
target_link_libraries(swiftFoundation
"-framework Foundation")