[cmake-developers] Rename Ninja generator?

Alan W. Irwin irwin at beluga.phys.uvic.ca
Thu Mar 8 20:37:37 EST 2012


On 2012-03-08 17:44-0500 Bill Hoffman wrote:

> I am wondering if we want to call the Ninja generator something like:
>
> Ninja Makefiles...  It is not totally accurate, but it avoids code like this:
>
>
> IF(CMAKE_GENERATOR MATCHES "Makefiles" OR CMAKE_GENERATOR MATCHES "Ninja")
>
> Also, it is more likely to work with existing cmake build files.  I had to do 
> the same thing with jom.  Although with jom, it pretty much is a makefile.
>
>
> Thoughts?

I think that would be confusing to users.

Could you define an internal variable (to identify those generators
that have Makefile-like characteristics) that could be tested instead
of CMAKE_GENERATOR?

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________



More information about the cmake-developers mailing list