Property to disable pedantic build.

This commit is contained in:
Roman Telezhynskyi 2023-01-10 09:20:42 +02:00
parent da197fc84b
commit 9aa0f3f8d1

View File

@ -28,6 +28,8 @@ Module {
readonly property bool ccachePCHSupport: ccache.pchSupport readonly property bool ccachePCHSupport: ccache.pchSupport
readonly property bool buildWithCcache: enableCcache && (enablePCH && ccachePresent && ccachePCHSupport || (!enablePCH && ccachePresent)) readonly property bool buildWithCcache: enableCcache && (enablePCH && ccachePresent && ccachePCHSupport || (!enablePCH && ccachePresent))
property bool treatWarningsAsErrors: true
property string libDirName: "lib" property string libDirName: "lib"
property string appTarget property string appTarget
@ -164,7 +166,7 @@ Module {
Properties { Properties {
condition: qbs.buildVariant === "debug" condition: qbs.buildVariant === "debug"
cpp.warningLevel: "all" cpp.warningLevel: "all"
cpp.treatWarningsAsErrors: true cpp.treatWarningsAsErrors: treatWarningsAsErrors
} }
property stringList debugFlags: { property stringList debugFlags: {