cmLocalGenerator: Store cmGeneratorTargets.

Relieve cmMakefile of this responsibility.
This commit is contained in:
Stephen Kelly
2015-09-16 05:21:07 +02:00
committed by Brad King
parent 488723f5cd
commit 2293d43d00
21 changed files with 60 additions and 60 deletions

View File

@@ -112,6 +112,19 @@ public:
bool forResponseFile = false,
const std::string& config = "");
const cmGeneratorTargetsType &GetGeneratorTargets() const
{
return this->GeneratorTargets;
}
void SetGeneratorTargets(const cmGeneratorTargetsType &targets)
{
this->GeneratorTargets = targets;
}
void AddGeneratorTarget(cmTarget* t, cmGeneratorTarget* gt);
cmGeneratorTarget* FindGeneratorTargetToUse(const std::string& name) const;
/**
* Encode a list of preprocessor definitions for the compiler
* command line.
@@ -354,6 +367,7 @@ protected:
std::set<std::string> ObjectMaxPathViolations;
std::set<cmTarget const*> WarnCMP0063;
cmGeneratorTargetsType GeneratorTargets;
bool EmitUniversalBinaryFlags;