mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
feat(build): add idf.py support for CMake configuration presets
This commit adds a new idf.py --preset NAME argument, which allows selecting the CMake configuration preset with a given name. For idf.py, selecting the preset does two things: - sets the build directory, which is specified in the preset itself using "binaryDir" field - passes --preset argument to CMake configuration phase The multi_config example is updated to illustrate how this feature is expected to be used.
This commit is contained in:
committed by
Frantisek Hrbata
parent
811e27118d
commit
6c01b6a324
@@ -0,0 +1,2 @@
|
||||
# This build configuration is for a specific product:
|
||||
CONFIG_EXAMPLE_PRODUCT_NAME="Blinky Smart Light"
|
||||
Reference in New Issue
Block a user