[Qbs] (no subject)

Dan Pat dannix84 at gmail.com
Tue Apr 6 10:58:44 CEST 2021

Hello. A bunch of Products must be built using a certain set of "cpp"
flags. I created a special Module (later referred to as "CppFlags"")
containing those flags and had these Products depend upon CppFlags. There
are other Modules that the Products depend on, and some of these Modules
contain Rules that generate cpp files, which also must be built using the
above mentioned set of "cpp" flags. But it seems that since such generator
Modules do not explicitly depend on CppFlags, they do not pick up the
required flags. So the question is how do I make sure that a certain set of
flags is applied to any cpp file built in the context of a Product?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20210406/a714276a/attachment.html>

More information about the Qbs mailing list