esp-idf/tools/cmake
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
..
scripts feat(tools): export information about all components in __COMPONENT_TARGETS 2024-01-25 14:20:22 +01:00
third_party build system: more accurate error information for git_describe 2023-07-10 11:31:32 +08:00
build.cmake fix(build_system): Allow dots in the name of an app binary 2023-08-08 15:13:25 +02:00
component_deps.dot.in G0: add a build example to check G0 dependencies 2022-06-14 15:00:53 +08:00
component.cmake build system: Add idf_component_add_link_dependency function, use for spi_flash overriding 2022-12-16 16:26:44 +01:00
depgraph.cmake cmake: add component dependency graph generation helpers 2021-12-02 15:29:00 +01:00
dfu.cmake esp32h4: removed esp32h4 related codes 2023-04-26 18:53:12 +08:00
git_submodules.cmake CI: build system do not check submodule for CI 2019-12-08 20:32:10 +08:00
idf.cmake tools: cmake: check tool supported version with idf_tools.py 2022-10-03 19:01:32 +04:00
kconfig.cmake build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES 2023-05-10 09:53:55 +08:00
ldgen.cmake build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES 2023-05-10 09:53:55 +08:00
project_description.json.in feat(tools): export information about all components in __COMPONENT_TARGETS 2024-01-25 14:20:22 +01:00
project.cmake feat(tools): export information about all components in __COMPONENT_TARGETS 2024-01-25 14:20:22 +01:00
run_dfu_util.cmake tools: Increase the minimal supported CMake version to 3.16 2022-06-01 06:35:02 +00:00
run_size_tool.cmake tools: Add --output-file argument to idf.py size commands 2022-09-27 15:41:36 +02:00
targets.cmake tools: fix custom sdkconfig renaming in set-target 2023-03-08 16:45:55 +01:00
tool_version_check.cmake tools: cmake: check tool supported version with idf_tools.py 2022-10-03 19:01:32 +04:00
toolchain-clang-esp32.cmake build: Adds support for universal Clang toolchain 2022-11-23 13:25:16 +03:00
toolchain-clang-esp32c2.cmake build: Adds support for universal Clang toolchain 2022-11-23 13:25:16 +03:00
toolchain-clang-esp32c3.cmake build: Adds support for universal Clang toolchain 2022-11-23 13:25:16 +03:00
toolchain-clang-esp32c6.cmake build: Adds support for universal Clang toolchain 2022-11-23 13:25:16 +03:00
toolchain-clang-esp32h2.cmake build: Adds support for universal Clang toolchain 2022-11-23 13:25:16 +03:00
toolchain-clang-esp32s2.cmake build: Adds support for universal Clang toolchain 2022-11-23 13:25:16 +03:00
toolchain-clang-esp32s3.cmake build: Adds support for universal Clang toolchain 2022-11-23 13:25:16 +03:00
toolchain-esp32.cmake Build: Xtensa assembly files are now assembled with -mlongcalls option 2022-06-20 13:56:49 +08:00
toolchain-esp32c2.cmake tools: add riscv zicsr/zifencei because they were separated from i 2023-02-22 05:33:03 +00:00
toolchain-esp32c3.cmake tools: add riscv zicsr/zifencei because they were separated from i 2023-02-22 05:33:03 +00:00
toolchain-esp32c6.cmake tools: add riscv zicsr/zifencei because they were separated from i 2023-02-22 05:33:03 +00:00
toolchain-esp32h2.cmake tools: change esp32h2 march to rv32imac_zicsr_zifencei 2023-02-22 05:33:03 +00:00
toolchain-esp32s2.cmake Build: Xtensa assembly files are now assembled with -mlongcalls option 2022-06-20 13:56:49 +08:00
toolchain-esp32s3.cmake Build: Xtensa assembly files are now assembled with -mlongcalls option 2022-06-20 13:56:49 +08:00
toolchain-linux.cmake build system: don't add GCC-specific options when building with clang 2021-01-24 12:48:29 +01:00
uf2.cmake esp32h4: removed esp32h4 related codes 2023-04-26 18:53:12 +08:00
utilities.cmake tools: fix make_json_list to return empty json list for empty cmake list 2023-06-08 14:29:53 +02:00
version.cmake change(version): Update version to 5.1.2 2023-11-10 07:51:59 +05:30