summaryrefslogtreecommitdiff
path: root/Source/cmDefinitions.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-08-24 14:40:51 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-01 13:08:14 -0400
commit52f9637174242752721dfb322908adb40c8244c2 (patch)
tree7b309c7e53d8790c3d270a12b523eb6e11187487 /Source/cmDefinitions.h
parentf794d589a44918c905911eb7688d69350922c6b3 (diff)
downloadcmake-52f9637174242752721dfb322908adb40c8244c2.tar.gz
Add method to get the local scope variables
Diffstat (limited to 'Source/cmDefinitions.h')
-rw-r--r--Source/cmDefinitions.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmDefinitions.h b/Source/cmDefinitions.h
index e385e88875..4834d8443a 100644
--- a/Source/cmDefinitions.h
+++ b/Source/cmDefinitions.h
@@ -40,6 +40,9 @@ public:
/** Set (or unset if null) a value associated with a key. */
const char* Set(const char* key, const char* value);
+ /** Get the set of all local keys. */
+ std::set<cmStdString> LocalKeys() const;
+
/** Compute the closure of all defined keys with values.
This flattens the scope. The result has no parent. */
cmDefinitions Closure() const;