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
|
||||
|
||||
Properties {
|
||||
condition: qbs.buildVariant === "debug"
|
||||
cpp.warningLevel: "all"
|
||||
cpp.treatWarningsAsErrors: treatWarningsAsErrors
|
||||
}
|
||||
cpp.treatWarningsAsErrors: treatWarningsAsErrors
|
||||
|
||||
property stringList debugFlags: {
|
||||
var debugFlags = [];
|
||||
|
|
Loading…
Reference in New Issue
Block a user