Qtopia Home · Home · Reference · User Guide · Internals

DEFINES

Usage

    DEFINES+=FOO
    DEFINES+=BAR=value

Description

Add a define. The first case can be tested with #ifdef FOO. The second can also be used as a value. Since this is passed to the compiler on the commandline you will need to quote any characters that are interpreted by the shell. For example, a string should be passed as DEFINES+=STR=\\"str\\".

See also Variables and Automatic DEFINES.


Copyright © 2008 Nokia Qtopia Build System Documentation