-
Notifications
You must be signed in to change notification settings - Fork 361
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
Configure dependencies page #3907
Comments
Thanks! My customers are trying to achieve this in different ways, and they often suffer. The approach people often use is to force something in ChatGPT: How to set options for dependencies is Conan?In Conan, you can set options for dependencies to customize their behavior or features when building your project. Here’s a step-by-step guide on how to configure options for dependencies in Conan: 1. Understand Conan OptionsConan packages often define options to toggle features (e.g., enabling shared libraries or specific modules). You can view available options for a package using the command: conan inspect <package_name> -a options For example, for 2. Set Options in
|
I'll can second what @mpusz said. In addition, I would suggest to add a few lines on pros/cons of certain approaches (e.g., I was not aware that the configure way prevents users from overriding the values, which per say I don't see as nothing strictly bad/good, as it depends on what one wants to achieve. However, it should be easy for an author to judge what pattern is needed/wanted.). Furthermore, maybe a note on the ordering/precedence different ways have would also be helpful. |
It is a bit difficult to see best practices around using and defining options.
self.dependencies
notself.options["dependency"]
Feedback by @mpusz
The text was updated successfully, but these errors were encountered: