Yeah, I tripped over that by accident when looking for a #define substitute, and it’s pretty cool. I have taken to linking my unit tests into the project with one of these, so in the debug build I get a button saying ‘Show unit tests’ and I can run them, and in the release it is not included.
Hey, do you like games? So do we — that’s what makes Kongregate the best source of free games online. We have thousands upon thousands of free online games, from both one-man indies and large studios, rated and filtered so you can play the best of the best. Read more »