mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-12 23:43:59 +03:00
cmState: Rename CreateSnapshot method.
Leave the namespace open for other snapshot types.
This commit is contained in:
1 parent
da28f11523
commit
942df88bf8
3 files changed
+4
-3
No files matched your search
@@ -1619,7 +1619,7 @@ void cmMakefile::AddSubDirectory(const std::string& srcPath,
|
||||
}
|
||||
|
||||
cmState::Snapshot newSnapshot = this->GetState()
|
||||
->CreateSnapshot(this->StateSnapshot);
|
||||
->CreateBuildsystemDirectorySnapshot(this->StateSnapshot);
|
||||
|
||||
// create a new local generator and set its parent
|
||||
cmLocalGenerator *lg2 = this->GetGlobalGenerator()
|
||||
|
||||
+2
-1
@@ -672,7 +672,8 @@ cmState::Snapshot cmState::CreateBaseSnapshot()
|
||||
return cmState::Snapshot(this, pos);
|
||||
}
|
||||
|
||||
cmState::Snapshot cmState::CreateSnapshot(Snapshot originSnapshot)
|
||||
cmState::Snapshot
|
||||
cmState::CreateBuildsystemDirectorySnapshot(Snapshot originSnapshot)
|
||||
{
|
||||
assert(originSnapshot.IsValid());
|
||||
PositionType pos = this->ParentPositions.size();
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@ public:
|
||||
};
|
||||
|
||||
Snapshot CreateBaseSnapshot();
|
||||
Snapshot CreateSnapshot(Snapshot originSnapshot);
|
||||
Snapshot CreateBuildsystemDirectorySnapshot(Snapshot originSnapshot);
|
||||
|
||||
enum CacheEntryType{ BOOL=0, PATH, FILEPATH, STRING, INTERNAL,STATIC,
|
||||
UNINITIALIZED };
|
||||
|
||||
Reference in new issue
Block a user