Link with gcov.
This commit is contained in:
parent
0e43aefe79
commit
6292ce3d8f
|
@ -20,6 +20,11 @@ Module {
|
||||||
return flags;
|
return flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Properties {
|
||||||
|
condition: qbs.toolchain.contains("gcc") && !qbs.toolchain.contains("clang")
|
||||||
|
cpp.staticLibraries: ["gcov"]
|
||||||
|
}
|
||||||
|
|
||||||
Rule { // Fake rule for '*.gcno' generation.
|
Rule { // Fake rule for '*.gcno' generation.
|
||||||
condition: qbs.debugInformation && qbs.toolchain.contains("gcc") && !qbs.toolchain.contains("clang")
|
condition: qbs.debugInformation && qbs.toolchain.contains("gcc") && !qbs.toolchain.contains("clang")
|
||||||
inputs: ["cpp", "c"]
|
inputs: ["cpp", "c"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user