Files
esp-idf/tools
Frantisek Hrbata c91597454d feat(cmakev2/idf): add PROJECT_COMPONENTS_SOURCE build property
Add the PROJECT_COMPONENTS_SOURCE build property to control how project
components are categorised during component discovery.  By default it is
set to "project_components" (priority 3 - highest), preserving the
existing behaviour.

Setting it to "idf_components" (priority 0) before calling
idf_project_init() makes the project's built-in components overridable
by user-supplied components through EXTRA_COMPONENT_DIRS (priority 2).

This is needed for sub-projects like the bootloader, whose built-in
components (e.g. main) are provided by ESP-IDF and should be overridable
by user-supplied components placed in bootloader_components/.  The
cmakev1 build system allowed this override because it used a
last-one-wins strategy, but cmakev2 uses strict priority-based component
resolution where project_components always win.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-03-27 19:18:11 +08:00
..
2025-09-26 10:25:25 +08:00
2026-03-26 12:24:59 +01:00
2025-09-30 15:28:55 +02:00
2025-09-30 15:28:55 +02:00
2026-03-26 12:24:59 +01:00
2025-08-01 08:05:10 +02:00
2025-08-01 08:05:10 +02:00
2025-09-30 15:28:55 +02:00
2025-09-30 15:28:55 +02:00