cmMakefile: Make the cmState::Snapshot accessible.
This commit is contained in:
parent
6d7abb6326
commit
8680520fea
@ -4657,6 +4657,11 @@ void cmMakefile::StoreMatches(cmsys::RegularExpression& re)
|
|||||||
this->MarkVariableAsUsed(nMatchesVariable);
|
this->MarkVariableAsUsed(nMatchesVariable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cmState::Snapshot cmMakefile::GetStateSnapshot() const
|
||||||
|
{
|
||||||
|
return this->StateSnapshot;
|
||||||
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
cmPolicies::PolicyStatus
|
cmPolicies::PolicyStatus
|
||||||
cmMakefile::GetPolicyStatus(cmPolicies::PolicyID id) const
|
cmMakefile::GetPolicyStatus(cmPolicies::PolicyID id) const
|
||||||
|
@ -819,6 +819,8 @@ public:
|
|||||||
void ClearMatches();
|
void ClearMatches();
|
||||||
void StoreMatches(cmsys::RegularExpression& re);
|
void StoreMatches(cmsys::RegularExpression& re);
|
||||||
|
|
||||||
|
cmState::Snapshot GetStateSnapshot() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// add link libraries and directories to the target
|
// add link libraries and directories to the target
|
||||||
void AddGlobalLinkInformation(const std::string& name, cmTarget& target);
|
void AddGlobalLinkInformation(const std::string& name, cmTarget& target);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user