Treat warnings as errors not only when debug.

This commit is contained in:
Roman Telezhynskyi 2023-03-08 18:54:47 +02:00
parent 004f46847c
commit cb4c1aa10b

View File

@ -184,12 +184,7 @@ Module {
}
cpp.separateDebugInformation: true
Properties {
condition: qbs.buildVariant === "debug"
cpp.warningLevel: "all"
cpp.treatWarningsAsErrors: treatWarningsAsErrors
}
property stringList debugFlags: {
var debugFlags = [];