mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add a SWIFT_FREESTANDING_MODULE_NAME CMake option (#34018)
This commit is contained in:
committed by
GitHub
parent
12c356b3d2
commit
41f91d5365
@@ -202,6 +202,7 @@ KNOWN_SETTINGS=(
|
||||
## FREESTANDING Stdlib Options
|
||||
swift-freestanding-sdk "" "which SDK to use when building the FREESTANDING stdlib"
|
||||
swift-freestanding-triple-name "" "which triple name (e.g. 'none-macho') to use when building the FREESTANDING stdlib"
|
||||
swift-freestanding-module-name "" "which .swiftmodule name (e.g. 'freestanding') to use when building the FREESTANDING stdlib"
|
||||
swift-freestanding-archs "" "space-separated list of which architectures to build when building the FREESTANDING stdlib"
|
||||
|
||||
## Uncategorised
|
||||
@@ -1901,6 +1902,13 @@ for host in "${ALL_HOSTS[@]}"; do
|
||||
)
|
||||
fi
|
||||
|
||||
if [ "${SWIFT_FREESTANDING_MODULE_NAME}" ] ; then
|
||||
cmake_options=(
|
||||
"${cmake_options[@]}"
|
||||
-DSWIFT_FREESTANDING_MODULE_NAME:STRING="${SWIFT_FREESTANDING_MODULE_NAME}"
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ "${SWIFT_FREESTANDING_ARCHS}" ]] ; then
|
||||
cmake_options=(
|
||||
"${cmake_options[@]}"
|
||||
|
||||
Reference in New Issue
Block a user