Files
esp-protocols/components/esp_dns/CMakeLists.txt
Abhik Roy 57cd60807e feat(dns): Add ESP DNS module with support for UDP, TCP, DoT, and DoH protocols
This commit introduces a custom DNS module for ESP32, enabling DNS resolution capabilities
over various protocols including UDP, TCP, DNS over TLS (DoT), and DNS over HTTPS (DoH).
The module includes initialization and cleanup functionalities, along with
protocol-specific implementations for each DNS type.
2025-04-16 21:30:06 +10:00

16 lines
611 B
CMake

idf_component_register(SRCS
"esp_dns_udp.c"
"esp_dns_tcp.c"
"esp_dns_dot.c"
"esp_dns_doh.c"
"esp_dns.c"
"esp_dns_lwip.c"
"esp_dns_utils.c"
INCLUDE_DIRS "include"
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES nvs_flash lwip esp_event esp-tls esp_http_client esp-tls tcp_transport)
if(CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_CUSTOM)
target_link_libraries(${COMPONENT_LIB} "-u lwip_hook_netconn_external_resolve")
endif()