summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-10 13:08:15 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-10 13:36:59 (GMT)
commite2eecae20517daa2bb292f85e161d5cebbc1f216 (patch)
tree50a14e5929938c0716b4031e84b7bde66adbbf83 /Source/cmState.h
parentb5212c68def0395642fc51dcfd499557eb9481d9 (diff)
downloadCMake-e2eecae20517daa2bb292f85e161d5cebbc1f216.zip
CMake-e2eecae20517daa2bb292f85e161d5cebbc1f216.tar.gz
CMake-e2eecae20517daa2bb292f85e161d5cebbc1f216.tar.bz2
cmState: Move ParseCacheEntry from cmCacheManager.
Diffstat (limited to 'Source/cmState.h')
-rw-r--r--Source/cmState.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmState.h b/Source/cmState.h
index 4c32831..fbc9275 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -242,6 +242,12 @@ public:
void RemoveCacheEntryProperty(std::string const& key,
std::string const& propertyName);
+ ///! Break up a line like VAR:type="value" into var, type and value
+ static bool ParseCacheEntry(const std::string& entry,
+ std::string& var,
+ std::string& value,
+ CacheEntryType& type);
+
Snapshot Reset();
// Define a property
void DefineProperty(const std::string& name, cmProperty::ScopeType scope,