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

fix default_options propagation to test_requires/tool_requires #14340

Merged

Conversation

memsharded
Copy link
Member

@memsharded memsharded commented Jul 20, 2023

Changelog: Fix: Correctly propagate options defined in recipe default_options to test_requires.
Changelog: Feature: Provide new default_build_options attribute for defining options for tool_requires in recipes.
Docs: conan-io/docs#3338

Close #14280
Close #13414

One extra data point:

  • Conan 1.X propagate to test_requires() the default_options. This PR aligns this behavior
  • Conan 1.X propagate to tool_requires() the default_options. This PR introduces the default_build_options, as an alternative way to clearly define the intention.

Do we want to fully align with 1.X behavior and consider the current 2.0.9 behavior a bug for tool_requires?

@memsharded memsharded added this to the 2.0.10 milestone Jul 20, 2023
@memsharded memsharded merged commit c3ac30a into conan-io:release/2.0 Jul 29, 2023
@memsharded memsharded deleted the fix/default_options_propagation branch July 29, 2023 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants