mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-02 04:02:23 +03:00
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:
1 parent
3f4e5e8c3d
commit
5d6aa3648b
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user