esp-idf/tools/cmake/scripts
Frantisek Hrbata 87afd5e829 feat(tools): export information about all components in __COMPONENT_TARGETS
Add new "all_component_info" dictionary into the
project_description.json file. It contains information about all
registered components presented in the __COMPONENT_TARGETS list.
Since components in this list are not fully evaluated, because only the first
stage of cmakefiles processing is done, it does not contain the same information
as the "build_component_info" dictionary. The "type", "file" and "sources" variables
are missing.

Most of the properties are already attached to the component target, so
this only adds INCLUDE_DIRS property to the target during the first cmakefiles
processing stage.

The "all_component_info" dict is generated in a separate function, even
though the original function for "build_component_info" could be
adjusted. This introduces a little bit of boilerplate, but keeps it
logically separated and probably easier if we want to extend it in the
future.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-01-25 14:20:22 +01:00
..
component_get_requirements.cmake feat(tools): export information about all components in __COMPONENT_TARGETS 2024-01-25 14:20:22 +01:00
data_file_embed_asm.cmake cmake: fix C identifier generation from embedded file 2020-06-16 17:05:46 +08:00
fail.cmake Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00