If users are select() selecting blocks, but count on the variables + preprocessor definitions to be there. I have explicitly excluded the new "variables" and "preprocessor" blocks to be filtered out by select(), they won't and will need explicit .remove() them if desired, or use the new keep() method that supersedes select()
Refactors:
Adding automatically a header for every block with its name
Adding explanation to every block about the inputs and definitions
Moved some global code in the toolchain to its own dedicated blocks
Added some more message() information when Conan define values in the toolchain
Normalizing the blank lines
Some minor PEP style fixes
The goal is to make the generated file more friendly to read, with more hints of what can be configured, and also to prepare the toolchain for a better customization and selection of what blocks to use.
Changelog: Omit Docs: Omit
This had some level of risk of breaking:
select()
selecting blocks, but count on the variables + preprocessor definitions to be there. I have explicitly excluded the new "variables" and "preprocessor" blocks to be filtered out byselect()
, they won't and will need explicit.remove()
them if desired, or use the newkeep()
method that supersedesselect()
Refactors:
message()
information when Conan define values in the toolchainThe goal is to make the generated file more friendly to read, with more hints of what can be configured, and also to prepare the toolchain for a better customization and selection of what blocks to use.