cmState::Snapshot: Provide accessor for the cmState.

This commit is contained in:
Stephen Kelly committed 2015-06-04 20:20:25 +02:00
1 parent 1f4ef39603
commit a824415724
2 files changed
+7

No files matched your search

+5
View File
@@ -787,3 +787,8 @@ cmState::Snapshot cmState::Snapshot::GetBuildsystemDirectoryParent() const
return snapshot;
}
cmState* cmState::Snapshot::GetState() const
{
return this->State;
}
+2
View File
@@ -47,6 +47,8 @@ public:
bool IsValid() const;
Snapshot GetBuildsystemDirectoryParent() const;
cmState* GetState() const;
private:
void ComputeRelativePathTopSource();
void ComputeRelativePathTopBinary();