Don't act so surprised- I was asking, not challenging :-)
I actually was suprised, I've been using build modes for nearly every project for the past 4 years now and never even thought about the existence of such a switch
This is something that I really ought to get into the habit of using, although I habitually leave as much range checking etc. in programs as possible.
MarkMLl
Yeah, this makes everything easier, for your gitignore you now only need to add the bin directory, especially when cross compiling you basically can iterate over the subdirectories in /bin to pack your releases.
But it can also be annoying at times because, when you add a new Unit in a new folder, you get asked if you want to add this unit, and if you say yes, it is only added to the currently selected build mode. This then results in, when building release mode, suddenly nothing can be found because you created the buildmodes at the very beginning and only added things to the debug mode.
But it's a great feature which doesn't get talked about enough in beginners guides and stuff. It took me years to find out that a. it existed and b. how useful it is