Files
esp-idf/tools
Frantisek Hrbata e0525d7e94 feat(cmakev2/component): add __set_component_cmakev1_properties function
In cmakev1, certain arguments provided to the idf_component_register
function are stored as component properties. These properties are used
to generate the project_description.json file, which other tools rely
on. Since the idf_component_register function is obsolete in cmakev2, we
need to recreate component properties such as INCLUDE_DIRS,
PRIV_INCLUDE_DIRS, REQUIRES, and PRIV_REQUIRES, which were previously
provided by the idf_component_register function in cmakev1.  To achieve
this, let's examine the component's real target cmake properties and
reconstruct them to maintain compatibility with cmakev1.

The real target cmake properties may include generator expressions,
which are ignored. This should be acceptable, as they were not addressed
in cmakev1 either, and handling them is likely not feasible.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-10-30 17:17:49 +08:00
..
2022-08-01 15:52:21 +08:00
2025-09-26 10:25:25 +08:00
2025-10-30 17:17:49 +08:00
2025-09-30 15:28:55 +02:00
2025-09-30 15:28:55 +02:00
2025-06-03 08:37:56 +02:00
2025-06-03 08:37:56 +02:00
2025-06-03 08:37:56 +02:00
2025-06-03 08:37:56 +02:00
2022-05-19 11:10:59 +08:00
2025-08-01 08:05:10 +02:00
2025-08-01 08:05:10 +02:00
2023-09-27 08:43:45 +02:00
2025-09-30 15:28:55 +02:00
2025-09-30 15:28:55 +02:00