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

add support for CMAKE_VERIFY_INTERFACE_HEADER_SETS #32

Open
ClausKlein opened this issue Oct 7, 2022 · 3 comments · May be fixed by #31
Open

add support for CMAKE_VERIFY_INTERFACE_HEADER_SETS #32

ClausKlein opened this issue Oct 7, 2022 · 3 comments · May be fixed by #31

Comments

@ClausKlein
Copy link
Contributor

CMake v3.24 added a new feature for verifying that headers are self-contained, meaning they don’t rely on some other header having been included first. It builds on the file sets feature added in CMake v3.23. The new CMAKE_VERIFY_INTERFACE_HEADER_SETS variable can be set to true to enable the creation of targets that carry out these checks for appropriately defined file sets. It is intended to be a developer control, not something the project sets. For projects already using file sets to install their headers, it should be a very simple step for developers to enable these checks.

@ClausKlein ClausKlein linked a pull request Oct 7, 2022 that will close this issue
@ClausKlein
Copy link
Contributor Author

ClausKlein commented Oct 22, 2022

@TheLartians Do you have an own solution for that Issue?

@ClausKlein
Copy link
Contributor Author

@TheLartians Do you have an own solution for that Issue?

yes, see ClausKlein/asio#4

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 a pull request may close this issue.

1 participant