[QBS] Per file compile switches

Slyshyk Oleksiy alexslyshyk at gmail.com
Sun Aug 16 08:42:24 CEST 2015


I think, you shall write custom module based on gcc module.
16 серп. 2015 09:06 "Stephan Gatzka" <stephan.gatzka at gmail.com> пише:

>
> > Well, you could put each file in its own Group and set
> cpp.commonCompilerFlags in each Group. I'm not suggesting you
> > actually do this due to the inconvenience, but it raises an interesting
> question about how we could potentially make
> > something like this more usable.
> >
> > I think a new property on the cpp module which calculates the hash and
> adds this flag for you (-frandom
> > -seed=qbs.getHash(input.filePath)?), would be welcome, though.
>
> Well, yes, I think that's the most straightforward way to do.
>
> Regards,
>
> Stephan
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20150816/d52e611c/attachment.html>


More information about the Qbs mailing list