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
Bill Hoffman
CMake
Commits
a8244157
Commit
a8244157
authored
Jun 04, 2015
by
Stephen Kelly
Browse files
cmState::Snapshot: Provide accessor for the cmState.
parent
1f4ef396
Changes
2
Hide whitespace changes
Inline
Side-by-side
Source/cmState.cxx
View file @
a8244157
...
...
@@ -787,3 +787,8 @@ cmState::Snapshot cmState::Snapshot::GetBuildsystemDirectoryParent() const
return
snapshot
;
}
cmState
*
cmState
::
Snapshot
::
GetState
()
const
{
return
this
->
State
;
}
Source/cmState.h
View file @
a8244157
...
...
@@ -47,6 +47,8 @@ public:
bool
IsValid
()
const
;
Snapshot
GetBuildsystemDirectoryParent
()
const
;
cmState
*
GetState
()
const
;
private:
void
ComputeRelativePathTopSource
();
void
ComputeRelativePathTopBinary
();
...
...
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