mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-21 14:40:48 +08:00
cmMakefile: Make the cmState::Snapshot accessible.
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user