[QBS] Change optimisation flasgs
R.Cotty at cascade-technologies.com
Mon Dec 9 22:12:34 CET 2013
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?
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".
More information about the Qbs