Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
942df88b
Commit
942df88b
authored
May 23, 2015
by
Stephen Kelly
Browse files
cmState: Rename CreateSnapshot method.
Leave the namespace open for other snapshot types.
parent
da28f115
Changes
3
Hide whitespace changes
Inline
Side-by-side
Source/cmMakefile.cxx
View file @
942df88b
...
...
@@ -1619,7 +1619,7 @@ void cmMakefile::AddSubDirectory(const std::string& srcPath,
}
cmState
::
Snapshot
newSnapshot
=
this
->
GetState
()
->
CreateSnapshot
(
this
->
StateSnapshot
);
->
Create
BuildsystemDirectory
Snapshot
(
this
->
StateSnapshot
);
// create a new local generator and set its parent
cmLocalGenerator
*
lg2
=
this
->
GetGlobalGenerator
()
...
...
Source/cmState.cxx
View file @
942df88b
...
...
@@ -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
();
...
...
Source/cmState.h
View file @
942df88b
...
...
@@ -58,7 +58,7 @@ public:
};
Snapshot
CreateBaseSnapshot
();
Snapshot
CreateSnapshot
(
Snapshot
originSnapshot
);
Snapshot
Create
BuildsystemDirectory
Snapshot
(
Snapshot
originSnapshot
);
enum
CacheEntryType
{
BOOL
=
0
,
PATH
,
FILEPATH
,
STRING
,
INTERNAL
,
STATIC
,
UNINITIALIZED
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment