velxio/backend/app/services/esp-idf-template/main
David Montero c7594c1dac fix(espidf): drop CONFIGURE_DEPENDS from main/ glob — script-mode incompat
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 27c9a28 (glob fix) + 21791a8 (template main.cpp decouple).
2026-05-23 17:49:14 +02:00
..
CMakeLists.txt fix(espidf): drop CONFIGURE_DEPENDS from main/ glob — script-mode incompat 2026-05-23 17:49:14 +02:00
main.c
main.cpp fix(espidf): drop textual #include "sketch.ino.cpp" in main wrapper 2026-05-23 17:41:21 +02:00
velxio_compat.h