mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-12-04 16:19:20 +01:00
The MDNS component has been refactored from a single monolithic file mdns.c into a set of focused modules with clear responsibilities. This restructuring maintains the same functionality while improving code organization, maintainability, and testability. In the stage#2 we will focus on module based tests In the stage#3 we will focus on small scale refators and optimizations
12 lines
422 B
CMake
12 lines
422 B
CMake
enable_testing()
|
|
add_test(NAME ${PROJECT_NAME} COMMAND ${PROJECT_NAME} --test)
|
|
|
|
add_custom_target(generate_mocks
|
|
DEPENDS ${MOCK_OUTPUTS}
|
|
)
|
|
add_dependencies(${PROJECT_NAME} generate_mocks)
|
|
|
|
# Add sanitizers: Please comment out when debugging
|
|
target_link_options(${PROJECT_NAME} PRIVATE -fsanitize=address -fsanitize=undefined)
|
|
target_compile_options(${PROJECT_NAME} PRIVATE -fsanitize=address -fsanitize=undefined)
|