Explanation: For CMake builds, make an option SWIFTSYNTAX_TARGET_NAMESPACE to add a prefix to module names in the package. Also add SWIFTSYNTAX_EMIT_MODULE option for build library-evolution enabled modules with .swiftinterface. To keep the current behavior, this option is TRUE unless it's explicitly specified to NO
Scope: CMake builds
Risk: Low. This adds a couple of CMake settings, but keeping the default behavior as-is.
Cherry-pick #2659 into release/6.0
SWIFTSYNTAX_TARGET_NAMESPACE
to add a prefix to module names in the package. Also addSWIFTSYNTAX_EMIT_MODULE
option for build library-evolution enabled modules with.swiftinterface
. To keep the current behavior, this option isTRUE
unless it's explicitly specified toNO