PDA

View Full Version : Printing Messages Only once



purplecoast
3rd October 2010, 22:15
When I use


message("Print this message")

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?