[cmake-developers] New Generator for Keil uVision

Brad King brad.king at kitware.com
Thu Nov 13 08:32:02 EST 2014


On 11/13/2014 07:41 AM, Marco wrote:
> Thanks for your tips! I was a bit afraid that VisualStudio
> would be recommended as starting-point. There is lots of
> inherited code there which is rather hard to understand as
> a cmake-newbie-developer...

It's the global/local/target generator breakdown that should
be followed for a new generator.  The VS generators have all
kinds of inheritance to support multiple versions.  Yours
shouldn't need that level of complexity.

> I had a look at XCode-generators and the look quit tidy.

It uses fragile logic like a "CurrentLocalGenerator" that
is not a good example of how to organize the generation
steps.  One day it may be refactored.

-Brad



More information about the cmake-developers mailing list