mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +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
164 B
CMake
4 lines
164 B
CMake
idf_component_register(SRCS "ethernet_example_main.c"
|
|
PRIV_REQUIRES esp_netif esp_eth ethernet_init
|
|
INCLUDE_DIRS ".")
|