Skip to content
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

Updated uses of FetchContent #112

Merged
merged 2 commits into from
Sep 23, 2024
Merged

Updated uses of FetchContent #112

merged 2 commits into from
Sep 23, 2024

Conversation

mjp41
Copy link
Member

@mjp41 mjp41 commented May 13, 2024

Using FetchContent adds all the subprojects build targets. This removes those targets using a slightly different way of including the directories that uses EXCLUDE_FROM_ALL.

This should reduce the number of build targets exposed.

Using FetchContent adds all the subprojects build targets.
This removes those targets using a slightly different way of including
the directories that uses ExcludeFromAll.

This should reduce the number of build targets exposed.
@mjp41 mjp41 requested a review from matajoh May 13, 2024 14:49
@mjp41
Copy link
Member Author

mjp41 commented May 13, 2024

@davidchisnall I think the way we were using FetchContent was causing lots of targets to leak. This should hopefully help with
microsoft/rego-cpp#125

I will apply this change to rego-cpp too.

@mjp41 mjp41 marked this pull request as draft May 13, 2024 17:25
@matajoh
Copy link
Member

matajoh commented May 16, 2024

LGTM

@mjp41 mjp41 marked this pull request as ready for review September 23, 2024 20:15
@mjp41 mjp41 enabled auto-merge (squash) September 23, 2024 20:15
@mjp41 mjp41 merged commit 02fcf57 into microsoft:main Sep 23, 2024
22 checks passed
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