Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bill Hoffman
CMake
Commits
cb40af5d
Commit
cb40af5d
authored
Oct 18, 2016
by
Stephen Kelly
Browse files
cmState: Move SnapshotDataType to separate namespace
parent
1205f75e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Source/cmState.cxx
View file @
cb40af5d
...
...
@@ -25,7 +25,7 @@ static std::string const kBUILDSYSTEM_TARGETS = "BUILDSYSTEM_TARGETS";
static
std
::
string
const
kSOURCE_DIR
=
"SOURCE_DIR"
;
static
std
::
string
const
kSUBDIRECTORIES
=
"SUBDIRECTORIES"
;
struct
cmState
::
SnapshotDataType
struct
cmState
Detail
::
SnapshotDataType
{
cmState
::
PositionType
ScopeParent
;
cmState
::
PositionType
DirectoryParent
;
...
...
Source/cmState.h
View file @
cb40af5d
...
...
@@ -25,15 +25,16 @@ class cmPropertyDefinition;
namespace
cmStateDetail
{
struct
BuildsystemDirectoryStateType
;
struct
SnapshotDataType
;
}
class
cmState
{
struct
SnapshotDataType
;
struct
PolicyStackEntry
;
typedef
cmLinkedTree
<
SnapshotDataType
>::
iterator
PositionType
;
typedef
cmLinkedTree
<
cmStateDetail
::
SnapshotDataType
>::
iterator
PositionType
;
friend
class
Snapshot
;
friend
struct
cmStateDetail
::
BuildsystemDirectoryStateType
;
friend
struct
cmStateDetail
::
SnapshotDataType
;
public:
cmState
();
...
...
@@ -341,7 +342,7 @@ private:
cmLinkedTree
<
std
::
string
>
ExecutionListFiles
;
cmLinkedTree
<
PolicyStackEntry
>
PolicyStack
;
cmLinkedTree
<
SnapshotDataType
>
SnapshotData
;
cmLinkedTree
<
cmStateDetail
::
SnapshotDataType
>
SnapshotData
;
cmLinkedTree
<
cmDefinitions
>
VarTree
;
std
::
string
SourceDirectory
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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