Well, the idea is that .cpp is not a correct place for holding resource descriptions and build settings. That's why resource scripts, makefiles and/or project files exist.