diff options
author | Brad King <brad.king@kitware.com> | 2001-02-26 22:58:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-02-26 22:58:54 (GMT) |
commit | 8859bd5ac835c639622e169192cbc571d90a3f4c (patch) | |
tree | 00ba8fc4dbafc612caca54cb9e5e4df6091a7225 | |
parent | eb80df5561f67434e88e73fa59d2c3f7098350d8 (diff) | |
download | CMake-8859bd5ac835c639622e169192cbc571d90a3f4c.zip CMake-8859bd5ac835c639622e169192cbc571d90a3f4c.tar.gz CMake-8859bd5ac835c639622e169192cbc571d90a3f4c.tar.bz2 |
ENH: Added GetUsedCommands() method.
-rw-r--r-- | Source/cmMakefile.h | 8 |
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. |