components: use new component registration api

* Original commit: espressif/esp-idf@9eccd7c082
This commit is contained in:
Renz Christian Bagaporo authored and suren-gabrielyan-espressif committed 2022-05-27 17:44:23 +04:00
1 parent 4912bef740
commit 7fb6686716
2 files changed
+8 -11

No files matched your search

+6 -8
View File
@@ -1,9 +1,7 @@
set(COMPONENT_SRCS "mdns.c"
"mdns_console.c"
"mdns_networking.c")
set(COMPONENT_ADD_INCLUDEDIRS "include")
set(COMPONENT_PRIV_INCLUDEDIRS "private_include")
set(COMPONENT_REQUIRES lwip mbedtls console tcpip_adapter)
register_component()
idf_component_register(SRCS "mdns.c"
"mdns_console.c"
"mdns_networking.c"
INCLUDE_DIRS "include"
PRIV_INCLUDE_DIRS "private_include"
REQUIRES lwip mbedtls console tcpip_adapter)
+2 -3
View File
@@ -1,3 +1,2 @@
set(COMPONENT_SRCDIRS ".")
set(COMPONENT_PRIV_REQUIRES unity test_utils mdns)
register_component()
idf_component_register(SRC_DIRS "."
PRIV_REQUIRES unity test_utils mdns)