From a91947039a025df00403be2cadba469346f274a8 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 9 Jan 2006 14:40:31 -0500 Subject: ENH: for all custom commands that can not be given to a target, add them to all targets in the current makefile --- Source/cmCustomCommand.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Source/cmCustomCommand.h') diff --git a/Source/cmCustomCommand.h b/Source/cmCustomCommand.h index 0a879498ca..966cab3ec4 100644 --- a/Source/cmCustomCommand.h +++ b/Source/cmCustomCommand.h @@ -49,11 +49,16 @@ public: /** Get the comment string for the command. */ const char* GetComment() const; + /** set get the used status of the command */ + void Used() { m_Used = true;}; + bool IsUsed() { return m_Used;}; + private: std::string m_Output; std::vector m_Depends; cmCustomCommandLines m_CommandLines; std::string m_Comment; + bool m_Used; }; #endif -- cgit v1.2.1