mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
13 lines
314 B
CMake
13 lines
314 B
CMake
set(SHARED_LIBRARY ON)
|
|
add_swift_library(swiftFoundation INSTALL
|
|
Foundation.swift
|
|
Foundation-macosx.swift
|
|
BridgeNSString.mm
|
|
DEPENDS swift_stdlib_core swiftObjectiveC)
|
|
|
|
add_swift_optimization_flags(swiftFoundation)
|
|
|
|
# Link against frameworks
|
|
target_link_libraries(swiftFoundation
|
|
"-framework Foundation")
|