summaryrefslogtreecommitdiffstats
path: root/Source/cmState.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-08 17:54:02 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-06-08 17:54:02 (GMT)
commitd18852d5961584125ae113fae23f4b55a760e159 (patch)
tree49b99c2b6b5cfc94dab6bf4827ac16e77196f8df /Source/cmState.cxx
parentc8997d1b32c866b9f45c3af51e4abc431ca2ebc7 (diff)
parent59e21ffa134faf0b089d9a704b3763e7f6f237d5 (diff)
downloadCMake-d18852d5961584125ae113fae23f4b55a760e159.zip
CMake-d18852d5961584125ae113fae23f4b55a760e159.tar.gz
CMake-d18852d5961584125ae113fae23f4b55a760e159.tar.bz2
Merge topic 'extract-cmOutputConverter'
59e21ffa Port static calls from cmLocalGenerator to cmOutputConverter. 242dcc2c cmListFileBacktrace: Replace local generator with cmState::Snapshot. 1cff330b cmTarget: Port to cmOutputConverter. 2f1bd62b cmCustomCommandGenerator: Port to cmOutputConverter. 0f2a1324 cmCommandArgumentParserHelper: Port to cmOutputConverter. 4d8b79ad cmComputeLinkInformation: Port to cmOutputConverter. 8680520f cmMakefile: Make the cmState::Snapshot accessible. 6d7abb63 cmOutputConverter: Extract from cmLocalGenerator. a8244157 cmState::Snapshot: Provide accessor for the cmState. 1f4ef396 cmLocalGenerator: Remove some commented lines of code.
Diffstat (limited to 'Source/cmState.cxx')
-rw-r--r--Source/cmState.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx
index a2ebb24..6ca875d 100644
--- a/Source/cmState.cxx
+++ b/Source/cmState.cxx
@@ -785,3 +785,8 @@ cmState::Snapshot cmState::Snapshot::GetBuildsystemDirectoryParent() const
return snapshot;
}
+
+cmState* cmState::Snapshot::GetState() const
+{
+ return this->State;
+}