summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefile.h')
-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.