cmLocalGenerator: Require a parent in the constructor.

Pass the parent though cmGlobalGenerator::CreateLocalGenerator.

This will make it easy to initialize state scopes independent of
cmMakefile.
This commit is contained in:
Stephen Kelly
2015-04-28 07:50:52 +02:00
parent e4c78b37ce
commit a48aebcb67
59 changed files with 132 additions and 86 deletions
+3 -1
View File
@@ -18,7 +18,9 @@
#include "windows.h"
//----------------------------------------------------------------------------
cmLocalVisualStudioGenerator::cmLocalVisualStudioGenerator(VSVersion v)
cmLocalVisualStudioGenerator
::cmLocalVisualStudioGenerator(VSVersion v, cmLocalGenerator* parent)
: cmLocalGenerator(parent)
{
this->WindowsShell = true;
this->WindowsVSIDE = true;