mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 13:50:10 -05:00
cmLocalGenerator: Require a global generator in the constructor.
Port generator factory methods to pass it.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user