-
Notifications
You must be signed in to change notification settings - Fork 2k
[docs] header-only package template #12851
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
[docs] header-only package template #12851
Conversation
Signed-off-by: Uilian Ries <[email protected]>
This comment has been minimized.
This comment has been minimized.
Updating docs! |
* Add header-only template Signed-off-by: Uilian Ries <[email protected]> * Missing self Signed-off-by: Uilian Ries <[email protected]>
# compiler subsettings are not available when building with self.info.clear() | ||
if self.info.settings.get_safe("compiler.cppstd"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So it doesn't make sense to test this in validate() since it will never enter into this branch. And for me it looks like all this new validate logic based on self.info in conan v2 is broken.
Or you mean that it's a workaround for conan v1 clients?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No workaround. Need to update by using self.settings
unfortunately. So far, there is no solution: conan-io/docs#2778
Related to #12678