mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 04:25:32 +00:00

Currently, several examples do not explicitly state their component dependencies, relying instead on the default behavior that includes all registered components and commonly required ones in the build. Explicitly adding component dependencies can reduce build time when set(COMPONENTS main) is used. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
4 lines
138 B
CMake
4 lines
138 B
CMake
idf_component_register(SRCS "app_main.c"
|
|
PRIV_REQUIRES mqtt nvs_flash esp_netif
|
|
INCLUDE_DIRS ".")
|