summaryrefslogtreecommitdiffstats
path: root/Source/cmCustomCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-06-21 13:34:47 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-06-21 13:34:47 (GMT)
commitb25dea9f11b0f625d9a6e00567a3ff58b38b0c4a (patch)
tree6af6ae34b74fe4bc42f103df96266b70cde594e6 /Source/cmCustomCommand.h
parent43e1e82fc64906f53b635e6d66f52bf72a6781be (diff)
downloadCMake-b25dea9f11b0f625d9a6e00567a3ff58b38b0c4a.zip
CMake-b25dea9f11b0f625d9a6e00567a3ff58b38b0c4a.tar.gz
CMake-b25dea9f11b0f625d9a6e00567a3ff58b38b0c4a.tar.bz2
ENH: add test to make sure custom commands are used
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 0a87949..e6d696a 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