Stephen Kelly
c7b79aa16a
cmGlobalGenerator: Require a cmake instance in ctor.
...
It is required anyway, so this makes it explicit.
2015-05-27 09:18:31 -04:00
Ben Boeckel
1a1b737c99
stringapi: Use strings for generator names
2014-03-08 13:05:38 -05:00
Patrick Gansterer
5170a8800f
Make cmGlobalGenerator::GetDocumentation() a static function
...
Making the function static allows us to call it directly,
without creating and removing an instance of the generator.
2012-11-19 12:54:50 -05:00
Patrick Gansterer
04ff866ca8
Allow a GeneratorFactory handling of more than one generator
...
Pass the name of the requested generator to the generator factory,
which is now responsible to check if it can create a matching
generator for the name. This allows us to add more logic to the
factory in a next step, so that not every possible generator needs
to get registered explicit in cmake::AddDefaultGenerators().
2012-11-19 12:54:35 -05:00
Patrick Gansterer
30a695021c
Add cmGlobalGeneratorFactory::GetGenerators()
...
This allows cmGlobalGeneratorFactory to create more than
one type of cmGlobalGenerator in a next step.
2012-11-19 12:54:34 -05:00
Patrick Gansterer
e8f841473b
Introduce the abstract class cmGlobalGeneratorFactory
...
This new abstract class allows us move some logic from the
cmGlobalGenerator into its own layer in a next step.
2012-11-19 12:54:30 -05:00