Files
esp-idf/tools/bt/safe_unity/CMakeLists.txt

14 lines
320 B
CMake
Raw Normal View History

2025-09-26 10:25:25 +08:00
# This component is not supported by ESP targets
if(${target} not STREQUAL "linux")
return()
endif()
idf_component_register(
SRCS src/safe_unity.c
INCLUDE_DIRS include
REQUIRES unity
)
target_compile_options(${COMPONENT_LIB} PUBLIC --coverage)
target_link_libraries(${COMPONENT_LIB} PUBLIC --coverage)