summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomCommandCommand.h
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2001-11-09 15:33:22 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2001-11-09 15:33:22 (GMT)
commit6b5e54744ca2f863089522cbc11fb5ace321a872 (patch)
tree2a75c6cb82f63176d917f347058674c4f7ae134d /Source/cmAddCustomCommandCommand.h
parent438676de38b7da1d94a9e036e02016d2d72b1de8 (diff)
downloadCMake-6b5e54744ca2f863089522cbc11fb5ace321a872.zip
CMake-6b5e54744ca2f863089522cbc11fb5ace321a872.tar.gz
CMake-6b5e54744ca2f863089522cbc11fb5ace321a872.tar.bz2
Reimplement code. Since a custom command is very flexible and might be extended in the future, make all arguments prefixed with arg type, make ordering irrelevant and potentially all args optional.
Diffstat (limited to 'Source/cmAddCustomCommandCommand.h')
-rw-r--r--Source/cmAddCustomCommandCommand.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmAddCustomCommandCommand.h b/Source/cmAddCustomCommandCommand.h
index 1f1a6dc..86a44f8 100644
--- a/Source/cmAddCustomCommandCommand.h
+++ b/Source/cmAddCustomCommandCommand.h
@@ -67,8 +67,9 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "ADD_CUSTOM_COMMAND(source, command ARGS [args] DEPENDS [depends] "
- "OUTPUTS [outputs] target)\nAdd a custom command.";
+ "ADD_CUSTOM_COMMAND([SOURCE source] [COMMAND command] [TARGET target] "
+ "[ARGS [args...]] [DEPENDS [depends...]] [OUTPUTS [outputs...]])\n"
+ "Add a custom command.";
}
cmTypeMacro(cmAddCustomCommandCommand, cmCommand);