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

7 lines
168 B
CMake
Raw Normal View History

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