You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
265 B

foreach(I RANGE 0 ${CMAKE_ARGC})
if("${CMAKE_ARGV${I}}" MATCHES ".*\\.gcda")
set(gcda_file "${CMAKE_ARGV${I}}")
endif()
endforeach()
get_filename_component(gcda_file ${gcda_file} NAME_WE)
file(WRITE "${CMAKE_SOURCE_DIR}/${gcda_file}.gcov"
"fake gcov file")