Skip to content

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Jun 25, 2024

Cherry-pick #2659 into release/6.0

  • 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.
  • Testing: Passes the current test suite
  • Issue: preparation for rdar://130532628
  • Reviewer: Hamish Knight (@hamishknight)

Each target name is prefixed with SWIFTSYNTAX_TARGET_NAMESPACE

Also, add SWIFTSYNTAX_EMIT_MODULE setting; 'true' for building
library-evolution enabled modules with .swiftinterface, 'false' for
building fragile modules, undefined is 'true'

(cherry picked from commit 4e7bb71)
@rintaro rintaro requested review from ahoppen and bnbarham as code owners June 25, 2024 21:32
@rintaro
Copy link
Member Author

rintaro commented Jun 25, 2024

@swift-ci Please test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant