diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2001-11-09 15:33:22 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2001-11-09 15:33:22 (GMT) |
commit | 6b5e54744ca2f863089522cbc11fb5ace321a872 (patch) | |
tree | 2a75c6cb82f63176d917f347058674c4f7ae134d /Source/cmAddCustomCommandCommand.h | |
parent | 438676de38b7da1d94a9e036e02016d2d72b1de8 (diff) | |
download | CMake-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.h | 5 |
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); |