Browse Source

ENH: Added GetUsedCommands() method.

Brad King 25 years ago
parent
commit
8859bd5ac8
1 changed files with 7 additions and 1 deletions
  1. 7 1
      Source/cmMakefile.h

+ 7 - 1
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.