summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-04 17:33:38 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-04 18:20:25 (GMT)
commita82441572493e4f420fca24041b594da9d3c14e6 (patch)
tree550efdfdbf1438b7bcb288adcc2941f92bdd5a28 /Source/cmState.h
parent1f4ef39603f3184ac3f78e1f52529947303b1bd1 (diff)
downloadCMake-a82441572493e4f420fca24041b594da9d3c14e6.zip
CMake-a82441572493e4f420fca24041b594da9d3c14e6.tar.gz
CMake-a82441572493e4f420fca24041b594da9d3c14e6.tar.bz2
cmState::Snapshot: Provide accessor for the cmState.
Diffstat (limited to 'Source/cmState.h')
-rw-r--r--Source/cmState.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmState.h b/Source/cmState.h
index 60b024f..39c9b76 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -47,6 +47,8 @@ public:
bool IsValid() const;
Snapshot GetBuildsystemDirectoryParent() const;
+ cmState* GetState() const;
+
private:
void ComputeRelativePathTopSource();
void ComputeRelativePathTopBinary();