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

Should CPM contain an "include guard" ? #633

Open
aedart opened this issue Jan 8, 2025 · 0 comments
Open

Should CPM contain an "include guard" ? #633

aedart opened this issue Jan 8, 2025 · 0 comments

Comments

@aedart
Copy link

aedart commented Jan 8, 2025

Would it make sense to use cmake's include_guard() in the CPM.cmake file?

I'm not sure if (re)including CPM is a big issue. But it could perhaps prevent some amount of overhead in complex projects that contain multiple sub-projects, each requiring CPM (e.g. mono repositories containing multiple packages / libraries)

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

No branches or pull requests

1 participant