cmGlobalGenerator: add a method to make an output-formatted string

This is needed to inject arguments through flag generation mechanisms so
that they can all be unescaped uniformly. Eventually, these methods
should go away and the escape/unescape dance be avoided completely.
3 files changed