From 8859bd5ac835c639622e169192cbc571d90a3f4c Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 26 Feb 2001 17:58:54 -0500 Subject: [PATCH] ENH: Added GetUsedCommands() method. --- Source/cmMakefile.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index c11ebdb60..51cf3c58c 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& GetUsedCommands() const + {return m_UsedCommands;} + /** * Dump documentation to a file. If 0 is returned, the * operation failed.