mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Overlay: support Catalyst, hooks and backdeployment on Apple platforms
This involves copying the correct source file to generate the magic symbols (the one for SwiftCore would not work here), and listening to the backdeployment configuration of Core. Take the chance to add hooks for vendor overrides. Addresses rdar://156436695
This commit is contained in:
@@ -105,7 +105,7 @@ copy_files("" "Supplemental/Distributed" FILES "Info.plist.in")
|
||||
# Platform Overlays
|
||||
|
||||
# Copy magic linker symbols
|
||||
copy_library_sources("linker-support" "" "Overlay")
|
||||
copy_library_sources("linker-support" "public/ClangOverlays" "Overlay")
|
||||
|
||||
message(STATUS "Clang[${StdlibSources}/public/ClangOverlays] -> ${CMAKE_CURRENT_LIST_DIR}/Overlay/clang")
|
||||
copy_files(public/ClangOverlays Overlay/clang FILES float.swift.gyb)
|
||||
|
||||
Reference in New Issue
Block a user