ESP-IDF runs component_get_requirements.cmake in script mode (not full project mode) to scan component dependencies before the build proper. CMake rejects CONFIGURE_DEPENDS in script mode with: CONFIGURE_DEPENDS is invalid for script and find package modes. The persistent build dir is already wiped + restored from the template on every compile (espidf_compiler.py:220-222 + CMakeLists.txt patches), so the glob is re-evaluated naturally on the next cmake configure — we don't need CONFIGURE_DEPENDS to catch new files. Pairs with |
||
|---|---|---|
| .. | ||
| main | ||
| CMakeLists.txt | ||
| partitions.csv | ||
| sdkconfig.defaults | ||
| sdkconfig.defaults.in | ||