Skip to content

[5.5] [swiftpm] Add derived sources to module compiler arguments #402

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 1 commit into from
May 26, 2021

Conversation

benlangmuir
Copy link
Contributor

Now that swiftpm has derived sources, for example the resource bundle
accessor generated for Bundle.module, we need to ensure they get added
to compiler arguments for the module as seen by sourcekit-lsp. Luckily
there is now a convenient ".sources" property on the target description.

https://bugs.swift.org/browse/SR-14658
(cherry picked from commit 8a65006)

Now that swiftpm has derived sources, for example the resource bundle
accessor generated for `Bundle.module`, we need to ensure they get added
to compiler arguments for the module as seen by sourcekit-lsp. Luckily
there is now a convenient ".sources" property on the target description.

https://bugs.swift.org/browse/SR-14658
(cherry picked from commit 8a65006)
@benlangmuir
Copy link
Contributor Author

@swift-ci please test

@benlangmuir benlangmuir merged commit c4d9869 into swiftlang:release/5.5 May 26, 2021
@benlangmuir benlangmuir deleted the derived-sources-5.5 branch May 26, 2021 02:34
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.

2 participants