[cmake] add interface libraries ot-config-(ftd|mtd|radio) (#8190)

This allows for more granular control of any configuration which
might need to be incorporated in the core library build.
This commit is contained in:
Mason Tran
2022-09-22 23:20:35 -07:00
committed by GitHub
parent da45d327c7
commit cc8e4cce15
21 changed files with 33 additions and 2 deletions
+1
View File
@@ -44,6 +44,7 @@ target_link_libraries(ot-cli-ftd PRIVATE
${OT_PLATFORM_LIB_FTD}
openthread-cli-ftd
${OT_MBEDTLS}
ot-config-ftd
ot-config
)
+1
View File
@@ -44,6 +44,7 @@ target_link_libraries(ot-cli-mtd PRIVATE
${OT_PLATFORM_LIB_MTD}
openthread-cli-mtd
${OT_MBEDTLS}
ot-config-mtd
ot-config
)
+1
View File
@@ -48,6 +48,7 @@ target_link_libraries(ot-cli-radio PRIVATE
${OT_PLATFORM_LIB_RCP}
openthread-cli-radio
${OT_MBEDTLS_RCP}
ot-config-radio
ot-config
)