summaryrefslogtreecommitdiff
path: root/Source/cmCustomCommand.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-01-09 14:40:31 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2006-01-09 14:40:31 -0500
commita91947039a025df00403be2cadba469346f274a8 (patch)
tree67f7cfbde67246ac19514b692d966c71b75083a1 /Source/cmCustomCommand.h
parentaa9734ab6ceab283c83615ea52644ff730651dbc (diff)
downloadcmake-a91947039a025df00403be2cadba469346f274a8.tar.gz
ENH: for all custom commands that can not be given to a target, add them to all targets in the current makefile
Diffstat (limited to 'Source/cmCustomCommand.h')
-rw-r--r--Source/cmCustomCommand.h5
1 files changed, 5 insertions, 0 deletions
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<std::string> m_Depends;
cmCustomCommandLines m_CommandLines;
std::string m_Comment;
+ bool m_Used;
};
#endif