Hi all,

what's the recommended way to configure qbs to build C++ code with GCC
using the -O3 optimizer level? I see it's using -O2 for the "fast"
qbs.optimization setting.

My intended workflow is to use -O3 when building from QtCreator in release
mode, while not having to set properties from the command line manually.
This is a somewhat large codebase with several static libraries and
applications (similar in structure as the Qt source tree), currently being
built using qmake.

I might also want to add more default compiler flags "globally"
(-ffast-math etc) at some point. Is it best to create my own
"CustomStaticLibrary" and "CustomApplication"-items and make sure to use
those everywhere instead of the regular ones provided with Qbs?

Best regards,
Ola Røer Thorsen
_______________________________________________
Qbs mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to