mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add the next stage of the runtimes build - the overlays. This homes the platform specific overlays for the libraries and is required to make further progress towards a static SDK for Windows.
6 lines
319 B
CMake
6 lines
319 B
CMake
file(STRINGS "${SwiftOverlay_SWIFTC_SOURCE_DIR}/utils/availability-macros.def" availability_defs)
|
|
list(FILTER availability_defs EXCLUDE REGEX "^\\s*(#.*)?$")
|
|
foreach(def ${availability_defs})
|
|
add_compile_options("$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xfrontend -define-availability -Xfrontend \"${def}\">")
|
|
endforeach()
|