Skip to content

[xcodegen] Add buildable folder support #77515

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 10, 2024

Conversation

hamishknight
Copy link
Contributor

Generate buildable folders for compatible targets when --buildable-folders is passed. Currently disabled by default, I'd like to live on it for a bit before enabling by default, and ideally we'd also split up "umbrella" targets like stdlib + unittests such that they can benefit from it.

#77418

This requires ensuring we check that we're not
ever attempting to add a group under an existing
folder reference. This will be required for
buildable folders.
This only existed to avoid adding anything under
a folder reference. Now that we add those
references first, this is no longer needed.
This enables the use of folder references for
compatible targets, allowing new source files to
be added without needing to regenerate the project.
Currently disabled by default; I'd like to get
some living-on before enabling.
@hamishknight
Copy link
Contributor Author

@swift-ci please smoke test

@hamishknight hamishknight merged commit 3793c37 into swiftlang:main Nov 10, 2024
3 checks passed
@hamishknight hamishknight deleted the buildable-folders branch November 10, 2024 00:52
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