esp-idf/examples/system/gcov/components/sample/CMakeLists.txt

7 wiersze
168 B
CMake

idf_component_register(SRCS "some_funcs.c"
INCLUDE_DIRS ".")
set_source_files_properties(some_funcs.c
PROPERTIES COMPILE_FLAGS
--coverage)