mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-25 09:42:35 +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
@@ -2,4 +2,7 @@ set(COMPONENT_ADD_INCLUDEDIRS .)
|
||||
|
||||
set(COMPONENT_SRCDIRS .)
|
||||
|
||||
set(COMPONENT_REQUIRES nghttp)
|
||||
set(COMPONENT_PRIV_REQUIRES lwip esp-tls)
|
||||
|
||||
register_component()
|
||||
|
Reference in New Issue
Block a user