cmLocalGenerator: Always return the end snapshot state of a directory.

This is needed for proper makefile progress tracking.

The cmLocalGenerator is constructed at configure-time, but only used
at generate time.  The StateSnapshot member is currently populated
before configuring, so use the Makefile to get the end snapshot.
This commit is contained in:
Stephen Kelly 2015-09-01 18:46:05 +02:00
parent 3f4e5e8c3d
commit 5d6aa3648b

View File

@ -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