summaryrefslogtreecommitdiffstats
path: root/Source/cmDefinitions.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-08-24 18:40:51 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-01 17:08:14 (GMT)
commit52f9637174242752721dfb322908adb40c8244c2 (patch)
tree7b309c7e53d8790c3d270a12b523eb6e11187487 /Source/cmDefinitions.h
parentf794d589a44918c905911eb7688d69350922c6b3 (diff)
downloadCMake-52f9637174242752721dfb322908adb40c8244c2.zip
CMake-52f9637174242752721dfb322908adb40c8244c2.tar.gz
CMake-52f9637174242752721dfb322908adb40c8244c2.tar.bz2
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 e385e88..4834d84 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;