summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-02-26 22:58:54 (GMT)
committerBrad King <brad.king@kitware.com>2001-02-26 22:58:54 (GMT)
commit8859bd5ac835c639622e169192cbc571d90a3f4c (patch)
tree00ba8fc4dbafc612caca54cb9e5e4df6091a7225
parenteb80df5561f67434e88e73fa59d2c3f7098350d8 (diff)
downloadCMake-8859bd5ac835c639622e169192cbc571d90a3f4c.zip
CMake-8859bd5ac835c639622e169192cbc571d90a3f4c.tar.gz
CMake-8859bd5ac835c639622e169192cbc571d90a3f4c.tar.bz2
ENH: Added GetUsedCommands() method.
-rw-r--r--Source/cmMakefile.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index c11ebdb..51cf3c5 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -325,7 +325,13 @@ public:
*/
const char* GetDefineFlags()
{return m_DefineFlags.c_str();}
-
+
+ /**
+ * Get the vector of used command instances.
+ */
+ const std::vector<cmCommand*>& GetUsedCommands() const
+ {return m_UsedCommands;}
+
/**
* Dump documentation to a file. If 0 is returned, the
* operation failed.