cmState::Snapshot: Provide accessor for the cmState.
This commit is contained in:
parent
1f4ef39603
commit
a824415724
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue