summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-27 20:38:45 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-28 05:50:57 (GMT)
commit86f3cd0f7e0e0a0db210b5ed3f01766624dbc67f (patch)
tree8f448a072427456cac2cc254236ba0dc022f6442 /Source/cmMakefile.h
parenta48aebcb67a66bd2fee1318bb971cc5e3b016410 (diff)
downloadCMake-86f3cd0f7e0e0a0db210b5ed3f01766624dbc67f.zip
CMake-86f3cd0f7e0e0a0db210b5ed3f01766624dbc67f.tar.gz
CMake-86f3cd0f7e0e0a0db210b5ed3f01766624dbc67f.tar.bz2
cmMakefile: Require the localGenerator in the constructor.
Move the contents of cmMakeile::SetLocalGenerator to the Initialize method.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index dcf56e1..d120fb3 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -74,7 +74,7 @@ public:
/**
* Construct an empty makefile.
*/
- cmMakefile();
+ cmMakefile(cmLocalGenerator* localGenerator);
/**
* Destructor.
@@ -138,13 +138,6 @@ public:
bool GetIsSourceFileTryCompile() const;
- /**
- * Specify the makefile generator. This is platform/compiler
- * dependent, although the interface is through a generic
- * superclass.
- */
- void SetLocalGenerator(cmLocalGenerator*);
-
///! Get the current makefile generator.
cmLocalGenerator* GetLocalGenerator() const
{ return this->LocalGenerator;}