Merge pull request #33 from mazimkhan/master
Added gcov flag to generate relative path for .gcda files
This commit is contained in:
commit
0742b14023
1 changed files with 1 additions and 1 deletions
|
@ -8,5 +8,5 @@ if(${YOTTA_CFG_DEBUG_OPTIONS_COVERAGE_MODULES_${under_name}})
|
|||
if(${s})
|
||||
get_target_property(flags ${YOTTA_MODULE_NAME} COMPILE_FLAGS)
|
||||
endif()
|
||||
set_target_properties(${YOTTA_MODULE_NAME} PROPERTIES COMPILE_FLAGS "${flags} -fprofile-arcs -ftest-coverage")
|
||||
set_target_properties(${YOTTA_MODULE_NAME} PROPERTIES COMPILE_FLAGS "${flags} -fprofile-arcs -ftest-coverage -fprofile-dir=.")
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue