What are the merits of debug_and_release config feature in qmake?

Viewed 1584

I can see only one merit of the feauture: we are able to issue the make all commad.

Well, I do not call make in any point of my developer's life. I use Qt Creator and when I build the project I want it strictly as debug or as release. I guess this is an expeted behaviour by people.

But debug_and_release is on by default in Qt Creator. Is there a merit in this I can't see? Is there some sense in the unintuitive mess like this:

CONFIG( debug, debug|release ) {
    # debug
} else {
    # release
}

which people are learning by making mistakes and asking WTF questions all over the internet?

Am I missing something?

1 Answers
Related