-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
What is your suggestion?
Hello!
The configuration tools.cmake.cmaketoolchain:extra_variables allows extending CMakeToolchain definitions without touching the conanfile.py. This option allows users to customize recipes without needing to open a PR and is equally beneficial to maintainers, as the recipe remains as simple as possible.
The same is not possible when the recipe uses autotools + configure to build a project; there is no mechanism to inject new configure_args without changing the Conan recipe.
It would be great if Conan could have a configuration dedicated to AutootoolsToolchain and Gnutoolchain that extends configure arguments as well. For instance:
tools.gnu:extra_configure_args: List with arguments to be passed to Autotools configure command
Have you read the CONTRIBUTING guide?
- I've read the CONTRIBUTING guide
Reactions are currently unavailable