1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-20 12:53:55 +08:00

cmMakefile: Make the cmState::Snapshot accessible.

This commit is contained in:
Stephen Kelly
2015-06-04 19:42:32 +02:00
parent 6d7abb6326
commit 8680520fea
2 changed files with 7 additions and 0 deletions

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

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);