This would probably work in most cases. Multi-config generators (IDEs) would be the main thing to watch out for.