Update generator to use new cmGeneratorTarget api.
Merge topic 'sublimeText2Generator' into next

44dffaf Update generator to use new cmGeneratorTarget api.