Property to disable pedantic build.
This commit is contained in:
parent
da197fc84b
commit
9aa0f3f8d1
|
@ -28,6 +28,8 @@ Module {
|
|||
readonly property bool ccachePCHSupport: ccache.pchSupport
|
||||
readonly property bool buildWithCcache: enableCcache && (enablePCH && ccachePresent && ccachePCHSupport || (!enablePCH && ccachePresent))
|
||||
|
||||
property bool treatWarningsAsErrors: true
|
||||
|
||||
property string libDirName: "lib"
|
||||
|
||||
property string appTarget
|
||||
|
@ -164,7 +166,7 @@ Module {
|
|||
Properties {
|
||||
condition: qbs.buildVariant === "debug"
|
||||
cpp.warningLevel: "all"
|
||||
cpp.treatWarningsAsErrors: true
|
||||
cpp.treatWarningsAsErrors: treatWarningsAsErrors
|
||||
}
|
||||
|
||||
property stringList debugFlags: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user