cmLocalGenerator: Create from already-constructed cmMakefile.

Don't manage the lifetime of the cmMakefile with cmLocalGenerator.
This commit is contained in:
Stephen Kelly
2015-08-02 11:41:51 +02:00
parent 0bd7279fd9
commit ff8ac8ee6a
49 changed files with 112 additions and 116 deletions

View File

@@ -16,8 +16,8 @@
//----------------------------------------------------------------------------
cmLocalXCodeGenerator::cmLocalXCodeGenerator(cmGlobalGenerator* gg,
cmState::Snapshot snapshot)
: cmLocalGenerator(gg, snapshot)
cmMakefile* mf)
: cmLocalGenerator(gg, mf)
{
// the global generator does this, so do not
// put these flags into the language flags