2018-09-11 01:44:12 +00:00
|
|
|
# The following lines of boilerplate have to be in your project's CMakeLists
|
2018-02-27 06:44:31 +00:00
|
|
|
# in this exact order for cmake to work correctly
|
2022-05-27 08:10:51 +00:00
|
|
|
cmake_minimum_required(VERSION 3.16)
|
2018-02-27 06:44:31 +00:00
|
|
|
|
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
|
|
project(gcov_example)
|
2019-06-28 13:24:05 +00:00
|
|
|
|
|
|
|
idf_create_coverage_report(${CMAKE_CURRENT_BINARY_DIR}/coverage_report)
|
|
|
|
idf_clean_coverage_report(${CMAKE_CURRENT_BINARY_DIR}/coverage_report)
|