[QBS] Again is not started an Rule from the Module

Denis Shienkov denis.shienkov at gmail.com
Fri May 16 11:24:33 CEST 2014


Ahh.. Christian, many thanks.

Adding of FileTagger into my module:

          FileTagger {

        patterns: "*.c"

        fileTags: ["kc"]

    }


    Rule {

        id: compiler

        inputs: [ "kc" ]

and changing of all "obj" tags, e.g. to "kobj" is helped.

BR,

Denis








2014-05-16 13:01 GMT+04:00 Christian Kandeler <christian.kandeler at digia.com>
:

> On 05/16/2014 10:35 AM, Denis Shienkov wrote:
> > So, what I should to change to solve my problem? I do not understand..
>
> The file in your project does not have any tags, so the rule will not
> run. You can either give the file a tag in the product via a group, or
> you can add a FileTagger to your module; see
> http://qt-project.org/doc/qbs-1.2/filetagger-item.html.
> By the way, I would not reuse the "c" file tag (nor "obj", for that
> matter); you should make up something else that will not clash with
> other modules if you ever decide to use them in the same product.
>
>
> Christian
> _______________________________________________
> 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/20140516/06ca411d/attachment.html>


More information about the Qbs mailing list