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

View File

@@ -24,7 +24,7 @@ class cmLocalXCodeGenerator : public cmLocalGenerator
{
public:
///! Set cache only and recurse to false by default.
cmLocalXCodeGenerator();
cmLocalXCodeGenerator(cmLocalGenerator* parent);
virtual ~cmLocalXCodeGenerator();
virtual std::string GetTargetDirectory(cmTarget const& target) const;