esp-idf/examples/system/gcov/components/sample/CMakeLists.txt
2019-11-12 18:42:02 +03:00

7 lines
168 B
CMake

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