[QBS] Change optimisation flasgs
Ruslan Nigmatullin
euroelessar at yandex.ru
Tue Dec 10 01:16:27 CET 2013
You can disable cpp.optimization for certain product (library/application), i.e.:
Product {
...
Depends { name: "cpp" }
cpp.optimization: "none"
...
}
10.12.2013, 01:12, "Raphael Cotty" <R.Cotty at cascade-technologies.com>:
> Thanks.
>
> I can turn it off globally by setting cpp.optimization to "non" in the profile.
> Is there a way to set it off for a project?
>
> Regards
>
> Raph
> ________________________________________
> From: Bornemann Joerg [Joerg.Bornemann at digia.com]
> Sent: 09 December 2013 14:12
> To: Raphael Cotty; qbs at qt-project.org
> Subject: RE: Change optimisation flasgs
>
>> I'd like to use -O3 -ffast-math -ftree-vectorizer-verbose=2 for the release compilation for some libraries.
>
> [...]
>
>> But it doesn't replace the -O2 by -O3.
>
> You need to turn off the automatic addition of the -O2 flag by setting cpp.optimization to "none".
>
> Regards,
>
> Joerg
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
--
Ruslan Nigmatullin
More information about the Qbs
mailing list