Home · Overviews · Reference · Classes codeless banner

not()

Usage

    not(foo()):SOMETHING=1

Description

This function takes one argment that is a value. It returns true if the value matches the false logic, true otherwise. Note that the function does not evaluate its contents so you cannot do this.

    CONFIG+=foo
    not(foo):CONFIG+=bar

Calling a function is acceptable because it will be evaluated before not().

See also QBuild Functions and QBuild Script.


Copyright © 2009 Trolltech
Qt Extended - QBuild Maintainer Guide