Board Settings in *.ino file

I found my way here as I'd like the same thing too. I'm always bumping into this, compiling for the wrong board because I'm working on a different project. I take no one's implemented a solutions? Of the suggestions, the #pragma idea seems best.