[Qt-creator] qmake debug release conditional builds
Coda Highland
coda at bobandgeorge.com
Tue Nov 10 03:52:05 CET 2009
> CONFIG(debug, debug|release) {
> CONFIG(release, debug|release) {
> warning("release set with debug! Ignoring release.")
> }
This will never trigger. The two-parameter form of CONFIG() guarantees
that the two options are mutually exclusive, and whichever is declared
last wins. If the first conditional succeeds, the second one CANNOT
return true.
/s/ Adam
More information about the Qt-creator-old
mailing list