Once in the forums I made a commet about having an extra compiler section for single file compilation, so you could have "global compiler options", "compiler options per project", "compiler options per target" and "compiler options for single file compilation".
Well, I decided to extend the idea so you could use the target combobox in the toolbar.
That way you could define different compilation flags and libraries, even compiler, to use when compiling a single file.
Examples of it could be a "target" for wxWidgets, a "target" for pthreads, a "target" for sockets, a "target" for allegro, ...
That way you'd just need to create a file, select the "target" in the combobox, compile and run. It'd be really handy to make little test programs for everything, not just console programs.
Creating a whole project for a single file with a few lines of code which will be just a program to test something is really too much, and modifying the global compiler options to get libraries and flags sent to the linker/compiler isn't the best approach, but unfortunately it's the one I'm using.
The idea could be extended even more so even projects could specify a different target' (it'd need another name of course). For example the Code::Blocks project could have the following target' options: Debug, Release, Unicode Debug, Unicode Release. The idea is to have everything in a single project file instead of four project files.
I just wanted to comment this idea here instead of adding a Feature Request.
Don Corleone's opinion is really important here