diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-06-04 17:42:32 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-06-06 07:15:56 (GMT) |
commit | 8680520feab8421f79c9762f1d3b6b92384c0b1e (patch) | |
tree | d25bd2de7776635ce0243a2a98cf3d2fe8fc9f5a /Source | |
parent | 6d7abb6326d422dabdf72e8486b492ac20f8b347 (diff) | |
download | CMake-8680520feab8421f79c9762f1d3b6b92384c0b1e.zip CMake-8680520feab8421f79c9762f1d3b6b92384c0b1e.tar.gz CMake-8680520feab8421f79c9762f1d3b6b92384c0b1e.tar.bz2 |
cmMakefile: Make the cmState::Snapshot accessible.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmMakefile.cxx | 5 | ||||
-rw-r--r-- | Source/cmMakefile.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index b5d976a..06febbf 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -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 diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 431ed08..fa9f23d 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -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); |