[CMake] adding a new generator to cmake source

Alexander Neundorf a.neundorf-work at gmx.net
Fri Dec 14 20:48:03 EST 2007


On Monday 03 December 2007, Jesse Corrington wrote:
> I am going to be working on a new generator for CMake to output Symbian
> build files. I am poking around the source a little today, and I have a few
> questions. What are the classes I am required to create. Do I need a
> cmGlobalGenerator subclass as well as a cmLocalGenerator subclass? What are

At least cmGlobalGenerator. Have a look at the existing generators. E.g. the 
xcode generator doesn almost nothing in the ocal generator.

> the differences between these two? How do I let CMake know about my new
> generator, Is there some generator factory I need to modify, or some other
> way of registering my new generator?

Yes. Just have a look at e.g. the xcode generator to see how this is done.

Alex


More information about the CMake mailing list