mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[CMAKE] Add Plist creation to swiftCore (#77960)
* update Resync to copy plist template * include Plist in linked library for Darwin platforms * only embedd plist on apple platforms * formatting fix
This commit is contained in:
@@ -59,6 +59,18 @@ copy_library_sources(include "" "Core")
|
||||
# Copy magic linker symbols
|
||||
copy_library_sources("linker-support" "" "Core")
|
||||
|
||||
# Copy Plist
|
||||
message(STATUS "plist[${StdlibSources}/Info.plist.in] -> Core/Info.plist.in")
|
||||
file(COPY_FILE
|
||||
"${StdlibSources}/Info.plist.in" # From
|
||||
"${CMAKE_CURRENT_LIST_DIR}/Core/Info.plist.in" # To
|
||||
RESULT _output
|
||||
ONLY_IF_DIFFERENT)
|
||||
if(_output)
|
||||
message(SEND_ERROR
|
||||
"Copy ${StdlibSources}/Info.plist.in] -> Core/Info.plist.in Failed: ${_output}")
|
||||
endif()
|
||||
|
||||
set(CoreLibs
|
||||
LLVMSupport
|
||||
SwiftShims
|
||||
|
||||
Reference in New Issue
Block a user