diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-07-26 10:54:16 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-01 05:18:34 (GMT) |
commit | 0a01e6c6e7bd428ca0ec99a00924b5b498c6e637 (patch) | |
tree | c9a2fe2068ca9c9092ddfa328433cf456bb1d8e8 /Source/cmState.cxx | |
parent | f0005bb484bc2b85a169ef7816e33d8e2f16e109 (diff) | |
download | CMake-0a01e6c6e7bd428ca0ec99a00924b5b498c6e637.zip CMake-0a01e6c6e7bd428ca0ec99a00924b5b498c6e637.tar.gz CMake-0a01e6c6e7bd428ca0ec99a00924b5b498c6e637.tar.bz2 |
cmState: Add Snapshot Type accessor.
Diffstat (limited to 'Source/cmState.cxx')
-rw-r--r-- | Source/cmState.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx index d8f8306..a466471 100644 --- a/Source/cmState.cxx +++ b/Source/cmState.cxx @@ -847,6 +847,11 @@ cmState::Snapshot::Snapshot(cmState* state, PositionType position) } +cmState::SnapshotType cmState::Snapshot::GetType() const +{ + return this->Position->SnapshotType; +} + const char* cmState::Directory::GetCurrentSource() const { return this->DirectoryState->Location.c_str(); |