Skip to content

Include out-of-target sources #8900

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

AkiSakurai
Copy link

Add support for out-of-target declared sources and headers in TargetSourcesBuilder for tools version vNext

Motivation:

Since out-of-target resources are already supported, this change extends similar support to out-of-target declared sources and headers, enabling consistent handling of external source files in package loading for tools versions >= vNext.

Modifications:

Updated TargetSourcesBuilder to process declaredSources, categorizing unhandled sources as headers or additional sources based on file extensions. Added logic to integrate these sources and headers for tools versions >= vNext.

Result:

TargetSourcesBuilder now supports out-of-target declared sources and headers, allowing seamless inclusion of external source files in package loading for tools versions >= vNext.

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