[QBS] Change optimisation flasgs

Raphael Cotty R.Cotty at cascade-technologies.com
Mon Dec 9 12:15:39 CET 2013


Hello,

I'd like to use -O3 -ffast-math -ftree-vectorizer-verbose=2 for the release compilation for some libraries.

For the moment I use:
Properties {
            condition: !qbs.enableDebugCode
            cpp.cxxFlags: [ "-O3", "-ffast-math", "-ftree-vectorizer-verbose=2" ]
        }

But it doesn't replace the -O2 by -O3.

Any idea?

Thanks
Raphael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20131209/26800bf5/attachment.html>


More information about the Qbs mailing list