1idf_component_register(SRCS "gcov_example_main.c"
2                            "gcov_example_func.c"
3                    INCLUDE_DIRS ".")
4
5set_source_files_properties(gcov_example_main.c
6                            gcov_example_func.c
7    PROPERTIES COMPILE_FLAGS
8    --coverage)
9