Commit a8244157 authored by Stephen Kelly's avatar Stephen Kelly
Browse files

cmState::Snapshot: Provide accessor for the cmState.

parent 1f4ef396
......@@ -787,3 +787,8 @@ cmState::Snapshot cmState::Snapshot::GetBuildsystemDirectoryParent() const
return snapshot;
}
cmState* cmState::Snapshot::GetState() const
{
return this->State;
}
......@@ -47,6 +47,8 @@ public:
bool IsValid() const;
Snapshot GetBuildsystemDirectoryParent() const;
cmState* GetState() const;
private:
void ComputeRelativePathTopSource();
void ComputeRelativePathTopBinary();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment