2021-06-30 18:39:29 +02:00
|
|
|
cmake_minimum_required(VERSION 3.5)
|
|
|
|
|
2023-04-04 12:57:38 +02:00
|
|
|
set(EXTRA_COMPONENT_DIRS "../.." "../../../../common_components/linux_compat")
|
2023-01-13 20:32:07 +01:00
|
|
|
|
2021-06-30 18:39:29 +02:00
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
2023-01-13 20:32:07 +01:00
|
|
|
set(COMPONENTS main esp_netif_linux)
|
2021-06-30 18:39:29 +02:00
|
|
|
project(mdns_host)
|
2023-03-20 12:17:36 +01:00
|
|
|
|
|
|
|
# Enable sanitizers for mdns implementation
|
|
|
|
idf_component_get_property(mdns mdns COMPONENT_LIB)
|
|
|
|
target_link_options(${mdns} INTERFACE -fsanitize=address -fsanitize=undefined)
|