summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-06 16:19:28 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-06 16:19:28 (GMT)
commitce750180baec52f1bb64fbd1afe7c1aff1338c5c (patch)
tree2f7f0b39ebd08222176ff10bcc8516d6a067dbad /Source/cmMakefile.h
parent6631d787541c9cf72821ad033a6f42356cf9f2e6 (diff)
downloadCMake-ce750180baec52f1bb64fbd1afe7c1aff1338c5c.zip
CMake-ce750180baec52f1bb64fbd1afe7c1aff1338c5c.tar.gz
CMake-ce750180baec52f1bb64fbd1afe7c1aff1338c5c.tar.bz2
Add method which returns a list of all variables
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 0d9ca16..3180847 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -441,6 +441,13 @@ public:
* cache is then queried.
*/
const char* GetDefinition(const char*) const;
+
+ /**
+ * Get the list of all variables in the current space. If argument
+ * cacheonly is specified and is greater than 0, then only cache
+ * variables will be listed.
+ */
+ std::vector<std::string> GetDefinitions(int cacheonly=0) const;
/** Test a boolean cache entry to see if it is true or false,
* returns false if no entry defined.