cmake: Add component dependency support

Components should set the COMPONENT_REQUIRES & COMPONENT_PRIVATE_REQUIRES variables to define their
requirements.
This commit is contained in:
Angus Gratton
2018-04-30 09:59:20 +10:00
committed by Angus Gratton
parent 4a2f1f0354
commit 1cb5712463
56 changed files with 562 additions and 201 deletions
+7
View File
@@ -0,0 +1,7 @@
set(COMPONENT_SRCDIRS ".")
set(COMPONENT_ADD_INCLUDEDIRS ".")
set(COMPONENT_REQUIRES mbedtls)
set(COMPONENT_PRIV_REQUIRES lwip nghttp)
register_component()