On 09/13/2013 12:43 PM, Raphael Cotty wrote: > Is there a way to store the global options for a project in a file?
No, but if all (or most) of your products should get a certain property, you could derive them from a custom product item that has it: ----- genericproduct.qbs ----- import qbs Product { Depends { name: "cpp" } cpp.warningLevel: "none" // ... } ----- specificproduct.qbs ----- import qbs import "genericproduct.qbs" as GenericProduct GenericProduct { type: "application" // ... } Christian > Or defining a profile for a project. > This file can then be saved in source repository. > > Raphael Cotty > ________________________________________ > From: qbs-bounces+r.cotty=cascade-technologies....@qt-project.org > [qbs-bounces+r.cotty=cascade-technologies....@qt-project.org] on behalf of > Christian Kandeler [christian.kande...@digia.com] > Sent: 13 September 2013 12:26 > To: qbs@qt-project.org > Subject: Re: [QBS] Changing cpp.warningLevel property globally > > On 09/13/2013 11:58 AM, Raphael Cotty wrote: >> Is there a way to set cpp.warningLevel to none for all the different >> projects? > > Sounds like you want to set that in in a profile: > qbs config <profile>.cpp.warningLevel none > (Or use config-ui.) > > > Christian > > _______________________________________________ > QBS mailing list > QBS@qt-project.org > http://lists.qt-project.org/mailman/listinfo/qbs > _______________________________________________ QBS mailing list QBS@qt-project.org http://lists.qt-project.org/mailman/listinfo/qbs