cmLocalGenerator: Require a global generator in the constructor.

Port generator factory methods to pass it.
This commit is contained in:
Stephen Kelly
2015-05-03 16:50:34 +02:00
parent 3837c48334
commit 34c9ee2ed7
38 changed files with 66 additions and 94 deletions
+1 -4
View File
@@ -33,7 +33,7 @@ class cmCustomCommandGenerator;
class cmLocalGenerator
{
public:
cmLocalGenerator(cmLocalGenerator* parent);
cmLocalGenerator(cmGlobalGenerator* gg, cmLocalGenerator* parent);
virtual ~cmLocalGenerator();
/**
@@ -88,9 +88,6 @@ public:
const cmGlobalGenerator *GetGlobalGenerator() const {
return this->GlobalGenerator; }
///! Set the Global Generator, done on creation by the GlobalGenerator
void SetGlobalGenerator(cmGlobalGenerator *gg);
/**
* Convert something to something else. This is a centralized conversion
* routine used by the generators to handle relative paths and the like.