cmGeneratorTarget: Rename internal member.

Leave the old name available for another use.
This commit is contained in:
Stephen Kelly committed 2015-10-06 20:16:20 +02:00
1 parent 9d653f9c1c
commit bf28b7874b
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -406,8 +406,8 @@ std::string cmGeneratorTarget::GetOutputName(const std::string& config,
std::vector<cmSourceFile*> const*
cmGeneratorTarget::GetSourceDepends(cmSourceFile const* sf) const
{
SourceEntriesType::const_iterator i = this->SourceEntries.find(sf);
if(i != this->SourceEntries.end())
SourceEntriesType::const_iterator i = this->SourceDepends.find(sf);
if(i != this->SourceDepends.end())
{
return &i->second.Depends;
}
@@ -1723,7 +1723,7 @@ void cmTargetTraceDependencies::Trace()
// Get the next source from the queue.
cmSourceFile* sf = this->SourceQueue.front();
this->SourceQueue.pop();
this->CurrentEntry = &this->GeneratorTarget->SourceEntries[sf];
this->CurrentEntry = &this->GeneratorTarget->SourceDepends[sf];
// Queue dependencies added explicitly by the user.
if(const char* additionalDeps = sf->GetProperty("OBJECT_DEPENDS"))
+1 -1
View File
@@ -370,7 +370,7 @@ private:
friend class cmTargetTraceDependencies;
struct SourceEntry { std::vector<cmSourceFile*> Depends; };
typedef std::map<cmSourceFile const*, SourceEntry> SourceEntriesType;
SourceEntriesType SourceEntries;
SourceEntriesType SourceDepends;
mutable std::map<cmSourceFile const*, std::string> Objects;
std::set<cmSourceFile const*> ExplicitObjectName;
mutable std::map<std::string, std::vector<std::string> > SystemIncludesCache;