• Home
  • Raw
  • Download

Lines Matching refs:lcov

13 set(LCOV_DATA_PATH "${CMAKE_BINARY_DIR}/lcov/data")
16 set(LCOV_HTML_PATH "${CMAKE_BINARY_DIR}/lcov/html")
27 # This function will add lcov evaluation for target <TNAME>. Only sources of
52 # Search for required lcov binaries.
53 find_program(LCOV_BIN lcov)
56 find_package_handle_standard_args(lcov
67 # enable no-external flag for lcov, if available.
94 # This function will merge lcov files to a single target file. Additional lcov
97 # Remove ${OUTFILE} from ${ARGV} and generate lcov parameters with files.
124 if (NOT TARGET lcov-capture-init)
125 add_custom_target(lcov-capture-init)
127 endif (NOT TARGET lcov-capture-init)
184 # add geninfo file generation to global lcov-geninfo target
185 add_dependencies(lcov-capture-init ${TNAME}-capture-init)
205 add_custom_target(lcov-geninfo-init ALL DEPENDS ${OUTFILE}
206 lcov-capture-init
215 if (NOT TARGET lcov-capture)
216 add_custom_target(lcov-capture)
218 endif (NOT TARGET lcov-capture)
278 # add geninfo file generation to global lcov-capture target
279 add_dependencies(lcov-capture ${TNAME}-geninfo)
310 add_custom_target(lcov-geninfo DEPENDS ${OUTFILE} lcov-capture)
312 # Add a new global target for all lcov targets. This target could be used to
313 # generate the lcov html output for the whole project instead of calling
317 if (NOT TARGET lcov)
319 add_custom_target(lcov target
325 DEPENDS lcov-geninfo-init lcov-geninfo
333 # Add a new global target to generate the lcov html report for the whole project
335 # for each target). Instead of the lcov target it does not require geninfo for
337 # the targets you'd like to have in your report or lcov-geninfo for generating
338 # info files for all targets before calling lcov-genhtml.
340 if (NOT TARGET lcov-genhtml)
341 add_custom_target(lcov-genhtml
354 endif (NOT TARGET lcov-genhtml)