mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user