> Then there's the | symbol.  In this context, is it a separator for strings
> or a logical or?  Assuming CONFIG contains either debug or release, how is
> CONFIG(debug, debug|release) different from CONFIG(debug)?

CONFIG(debug) returns true if the CONFIG variable contains "debug".

CONFIG(debug, debug|release) returns true if, out of the
mutually-exclusive set of "debug" and "release", the last value set
was "debug".

So for "CONFIG = debug release", CONFIG(debug) returns true but
CONFIG(debug, debug|release) returns false.

/s/ Adam

_______________________________________________
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to