mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-02 13:45:46 +00:00
cmake: Add component dependency support
Components should set the COMPONENT_REQUIRES & COMPONENT_PRIVATE_REQUIRES variables to define their requirements.
This commit is contained in:
committed by
Angus Gratton
parent
4a2f1f0354
commit
1cb5712463
@@ -16,6 +16,9 @@ set(COMPONENT_SRCDIRS
|
||||
${LWIP_PPP_DIRS} netif
|
||||
port/freertos port/netif port/debug port)
|
||||
|
||||
set(COMPONENT_REQUIRES "")
|
||||
set(COMPONENT_PRIV_REQUIRES ethernet tcpip_adapter)
|
||||
|
||||
register_component()
|
||||
|
||||
component_compile_options(-Wno-address)
|
||||
|
||||
Reference in New Issue
Block a user