Files
swift-mirror/stdlib/objc/Foundation/CMakeLists.txt
Jordan Rose 20fb4513e2 [CMake] Fix dependencies for swiftDispatch.
Without proper dependencies among the overlays, we may try to load an
outdated overlay module while building another overlay.

Swift SVN r17753
2014-05-09 01:20:34 +00:00

18 lines
410 B
CMake

set(SHARED_LIBRARY ON)
set(SWIFTFOUNDATION_SOURCES
Foundation.swift
KVO.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")