Merge topic 'fix-makefile-progress'
5d6aa364
cmLocalGenerator: Always return the end snapshot state of a directory.3f4e5e8c
cmState: Return end snapshot for GetBuildsystemDirectoryParent.
This commit is contained in:
commit
8af34749fe
|
@ -487,7 +487,7 @@ cmState* cmLocalGenerator::GetState() const
|
|||
|
||||
cmState::Snapshot cmLocalGenerator::GetStateSnapshot() const
|
||||
{
|
||||
return this->StateSnapshot;
|
||||
return this->Makefile->GetStateSnapshot();
|
||||
}
|
||||
|
||||
// List of variables that are replaced when
|
||||
|
|
|
@ -1067,7 +1067,8 @@ cmState::Snapshot cmState::Snapshot::GetBuildsystemDirectoryParent() const
|
|||
PositionType parentPos = this->Position->DirectoryParent;
|
||||
if (parentPos != this->State->SnapshotData.Root())
|
||||
{
|
||||
snapshot = Snapshot(this->State, parentPos);
|
||||
snapshot = Snapshot(this->State,
|
||||
parentPos->BuildSystemDirectory->DirectoryEnd);
|
||||
}
|
||||
|
||||
return snapshot;
|
||||
|
|
Loading…
Reference in New Issue