cmMakefile: Make the cmState::Snapshot accessible.

This commit is contained in:
Stephen Kelly committed 2015-06-06 09:15:56 +02:00
1 parent 6d7abb6326
commit 8680520fea
2 files changed
+7

No files matched your search

+5
View File
@@ -4657,6 +4657,11 @@ void cmMakefile::StoreMatches(cmsys::RegularExpression& re)
this->MarkVariableAsUsed(nMatchesVariable);
}
cmState::Snapshot cmMakefile::GetStateSnapshot() const
{
return this->StateSnapshot;
}
//----------------------------------------------------------------------------
cmPolicies::PolicyStatus
cmMakefile::GetPolicyStatus(cmPolicies::PolicyID id) const
+2
View File
@@ -819,6 +819,8 @@ public:
void ClearMatches();
void StoreMatches(cmsys::RegularExpression& re);
cmState::Snapshot GetStateSnapshot() const;
protected:
// add link libraries and directories to the target
void AddGlobalLinkInformation(const std::string& name, cmTarget& target);