Fixed coveralls cmake module to handle windows paths
This commit is contained in:
parent
fdca157049
commit
6037e04111
1 changed files with 1 additions and 0 deletions
|
@ -166,6 +166,7 @@ macro(get_source_path_from_gcov_filename _SRC_FILENAME _GCOV_FILENAME)
|
|||
# #path#to#project#root#subdir#the_file.c.gcov -> /path/to/project/root/subdir/the_file.c
|
||||
string(REGEX REPLACE "\\.gcov$" "" SRC_FILENAME_TMP ${_GCOV_FILENAME_WEXT})
|
||||
string(REGEX REPLACE "\#" "/" SRC_FILENAME_TMP ${SRC_FILENAME_TMP})
|
||||
string(REGEX REPLACE "~" ":" SRC_FILENAME_TMP ${SRC_FILENAME_TMP})
|
||||
set(${_SRC_FILENAME} "${SRC_FILENAME_TMP}")
|
||||
endmacro()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue