Commit 0a01e6c6 authored by Stephen Kelly's avatar Stephen Kelly
Browse files

cmState: Add Snapshot Type accessor.

parent f0005bb4
......@@ -847,6 +847,11 @@ cmState::Snapshot::Snapshot(cmState* state, PositionType position)
}
cmState::SnapshotType cmState::Snapshot::GetType() const
{
return this->Position->SnapshotType;
}
const char* cmState::Directory::GetCurrentSource() const
{
return this->DirectoryState->Location.c_str();
......
......@@ -56,6 +56,7 @@ public:
bool IsValid() const;
Snapshot GetBuildsystemDirectoryParent() const;
Snapshot GetCallStackParent() const;
SnapshotType GetType() const;
void InitializeFromParent();
......
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