summaryrefslogtreecommitdiffstats
path: root/Source/cmCustomCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-12-10 21:47:37 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-12-10 21:47:37 (GMT)
commit3893ee72d2d5a04889cc1056b56029c9d60393c0 (patch)
tree3d96e526b726e7c0f2965489f74f2655776d6390 /Source/cmCustomCommand.h
parentab64db6ee84604c361a2d6f279398f7c9d3247f5 (diff)
downloadCMake-3893ee72d2d5a04889cc1056b56029c9d60393c0.zip
CMake-3893ee72d2d5a04889cc1056b56029c9d60393c0.tar.gz
CMake-3893ee72d2d5a04889cc1056b56029c9d60393c0.tar.bz2
Add comment support, so that you can see in build process what the custom command does
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 3cf2681..9085177 100644
--- a/Source/cmCustomCommand.h
+++ b/Source/cmCustomCommand.h
@@ -54,6 +54,10 @@ public:
std::string GetCommand() const {return m_Command;}
void SetCommand(const char *cmd) {m_Command = cmd;}
+ ///! Return the command to execute
+ std::string GetComment() const {return m_Comment;}
+ void SetComment(const char *cm) {m_Comment = cm;}
+
///! Return the commands arguments
std::string GetArguments() const {return m_Arguments;}
void SetArguments(const char *arg) {m_Arguments = arg;}
@@ -74,6 +78,7 @@ private:
std::string m_Source;
std::string m_Command;
std::string m_Arguments;
+ std::string m_Comment;
std::vector<std::string> m_Depends;
std::vector<std::string> m_Outputs;
};