-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fmt: add with_os_api option #5773
fmt: add with_os_api option #5773
Conversation
This option has been introduced in fmt 7.0.0 It only makes sense if fmt is not header only
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
recipes/fmt/all/conanfile.py
Outdated
"shared": [True, False], | ||
"fPIC": [True, False], | ||
"with_fmt_alias": [True, False], | ||
"with_os": [True, False], |
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.
I don't really like the with_os
name. It's too close to self.settings.os
See fmtlib/fmt#1654 (comment)
How about with_os_api
or something similar?
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.
That's a good point. I second with_os_api
.
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.
done
recipes/fmt/all/conanfile.py
Outdated
"shared": False, | ||
"fPIC": True, | ||
"with_fmt_alias": False, | ||
"with_os": True, |
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.
Maybe disable the option in config_options
when os not in Windows, Linux, FreeBSD, or not tools.is_apple_os?
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.
I'm not sure how likely it is, but I can imagine use cases where someone may not want the OS support compiled in to the library when targeting Windows, Linux, FreeBSD, etc. One such reason is minimizing the size of the binary.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Another candidate for removing older versions |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
All green in build 17 (
|
There are versions missing from the build... do we need a rebase? |
Specify library name and version: lib/1.0
closes #5771
conan-center hook activated.