[cmake-developers] [PATCH] User may now specify toolset through CMake GUI

Brad King brad.king at kitware.com
Tue Feb 17 13:08:23 EST 2015


On 02/17/2015 12:21 PM, Robert Dailey wrote:
> What would be the best way to handle detecting which generators support toolset?
> 
> The confusing piece I had to figure out last night is that there is
> simply no "generator" base class from which everything derives, there
> are 2 types: extra generators and generators.

The "extra generators" are not of concern here.  They are only ever
used in conjunction with real "generators".  The base class for the
latter is cmGlobalGenerator.  However, cmGlobalGeneratorFactory is
also a candidate for this check since it exists before the actual
generator is created.  You'll have to pick whichever works more
cleanly for this use case.

-Brad



More information about the cmake-developers mailing list