Make coverage an optional dependency.
This commit is contained in:
parent
c8ffff6428
commit
0ca7c7b3b5
|
@ -4,7 +4,7 @@ Library {
|
||||||
Depends { name: "buildconfig" }
|
Depends { name: "buildconfig" }
|
||||||
Depends { name: "bundle"; condition: qbs.targetOS.contains("macos") }
|
Depends { name: "bundle"; condition: qbs.targetOS.contains("macos") }
|
||||||
Depends { name: "cpp" }
|
Depends { name: "cpp" }
|
||||||
Depends { name: "coverage" }
|
Depends { name: "coverage"; required: false }
|
||||||
|
|
||||||
type: buildconfig.staticBuild ? "staticlibrary" : "dynamiclibrary"
|
type: buildconfig.staticBuild ? "staticlibrary" : "dynamiclibrary"
|
||||||
|
|
||||||
|
@ -64,6 +64,6 @@ Library {
|
||||||
|
|
||||||
Export {
|
Export {
|
||||||
Depends { name: "buildconfig" }
|
Depends { name: "buildconfig" }
|
||||||
Depends { name: "coverage" }
|
Depends { name: "coverage"; required: false }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ VApp {
|
||||||
install: false
|
install: false
|
||||||
condition: buildconfig.enableUnitTests
|
condition: buildconfig.enableUnitTests
|
||||||
|
|
||||||
Depends { name: "coverage" }
|
Depends { name: "coverage"; required: false }
|
||||||
|
|
||||||
Properties {
|
Properties {
|
||||||
condition: qbs.targetOS.contains("macos")
|
condition: qbs.targetOS.contains("macos")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user