Home · Overviews · Reference · Classes codeless banner

MODULES

Specifies the modules that your project depends on.

Note that you can extract part of a dependency using the following notation.

    MODULES*=foo::rule

You must know what rules the project exports. It's the name of the object that is exported. For example a rule called "rule" would be created by.

    rule.TYPE=DEPENDS PERSISTED
    rule.EVAL="message(hi mom)"

Note that any prefix does not count in the rule's name so the following has the same effect.

    SOME.PREFIX.rule.TYPE=DEPENDS PERSISTED
    SOME.PREFIX.rule.EVAL="message(hi mom)"

Common rules are:

Note that the rule 'exists' is provided to check that a given project is enabled. It returns true even if the other project cannot create a module.dep file.

See also QBuild Variables, QBuild Script, and DEPENDS.


Copyright © 2009 Nokia
Qt Extended - QBuild Maintainer Guide