Lines Matching refs:TNAME

27 # This function will add lcov evaluation for target <TNAME>. Only sources of
29 # geninfo on any source file of <TNAME> once and store the info file in the same
36 function (add_lcov_target TNAME)
39 lcov_capture_initial_tgt(${TNAME})
42 lcov_capture_tgt(${TNAME})
130 # This function will add initial capture of coverage data for target <TNAME>,
132 # execution time. It will call geninfo for every source file of <TNAME> once and
134 function (lcov_capture_initial_tgt TNAME)
138 get_target_property(TSOURCES ${TNAME} SOURCES)
162 set(TDIR ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${TNAME}.dir)
173 DEPENDS ${TNAME}
179 set(OUTFILE "${LCOV_DATA_PATH_INIT}/${TNAME}.info")
182 add_custom_target(${TNAME}-capture-init ALL DEPENDS ${OUTFILE})
185 add_dependencies(lcov-capture-init ${TNAME}-capture-init)
221 # This function will add capture of coverage data for target <TNAME>, which is
223 # It will call geninfo for every source file of <TNAME> once and store the info
225 function (lcov_capture_tgt TNAME)
229 get_target_property(TSOURCES ${TNAME} SOURCES)
253 set(TDIR ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${TNAME}.dir)
268 DEPENDS ${TNAME} ${TNAME}-capture-init
274 set(OUTFILE "${LCOV_DATA_PATH_CAPTURE}/${TNAME}.info")
276 add_custom_target(${TNAME}-geninfo DEPENDS ${OUTFILE})
279 add_dependencies(lcov-capture ${TNAME}-geninfo)
285 file(MAKE_DIRECTORY ${LCOV_HTML_PATH}/${TNAME})
286 add_custom_target(${TNAME}-genhtml
288 --baseline-file ${LCOV_DATA_PATH_INIT}/${TNAME}.info
289 --output-directory ${LCOV_HTML_PATH}/${TNAME}
290 --title "${CMAKE_PROJECT_NAME} - target ${TNAME}"
292 DEPENDS ${TNAME}-geninfo ${TNAME}-capture-init