Treat warnings as errors not only when debug.
This commit is contained in:
parent
004f46847c
commit
cb4c1aa10b
|
@ -184,12 +184,7 @@ Module {
|
||||||
}
|
}
|
||||||
|
|
||||||
cpp.separateDebugInformation: true
|
cpp.separateDebugInformation: true
|
||||||
|
cpp.treatWarningsAsErrors: treatWarningsAsErrors
|
||||||
Properties {
|
|
||||||
condition: qbs.buildVariant === "debug"
|
|
||||||
cpp.warningLevel: "all"
|
|
||||||
cpp.treatWarningsAsErrors: treatWarningsAsErrors
|
|
||||||
}
|
|
||||||
|
|
||||||
property stringList debugFlags: {
|
property stringList debugFlags: {
|
||||||
var debugFlags = [];
|
var debugFlags = [];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user