When I use

Qt Code:
  1. message("Print this message")
To copy to clipboard, switch view to plain text mode 

in my PRO file, the message gets printed three times. I know that the PRO file is parsed three times because of the three files...

Makefile
Makefile.Release
Makefile.Debug

that are created. Can I put my message call inside a variable check, where the variable would be different for the three passes so that the message is only printed once?