summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-03 14:50:34 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-14 18:36:27 (GMT)
commit34c9ee2ed75e12c713bb49c699ac1dd882d1b8fa (patch)
tree83940147cdf05b1b82caff2c3f4b640b35ca83c0 /Source/cmLocalGenerator.h
parent3837c48334ff670d9132f80e35a31e263b21d3a1 (diff)
downloadCMake-34c9ee2ed75e12c713bb49c699ac1dd882d1b8fa.zip
CMake-34c9ee2ed75e12c713bb49c699ac1dd882d1b8fa.tar.gz
CMake-34c9ee2ed75e12c713bb49c699ac1dd882d1b8fa.tar.bz2
cmLocalGenerator: Require a global generator in the constructor.
Port generator factory methods to pass it.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index af333fd..44a2d99 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -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.