mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
ENH: Updated implementation of custom commands. Multiple command lines are now supported effectively allowing entire scripts to be written. Also removed extra variable expansions and cleaned up passing of commands through to the generators. The command and individual arguments are now kept separate all the way until the generator writes them out. This cleans up alot of escaping issues.
This commit is contained in:
@@ -63,9 +63,10 @@ public:
|
||||
virtual const char* GetFullDocumentation()
|
||||
{
|
||||
return
|
||||
" ADD_CUSTOM_TARGET(Name [ALL] [ command arg arg arg ... ]\n"
|
||||
" ADD_CUSTOM_TARGET(Name [ALL] [command1 [args1...]]\n"
|
||||
" [COMMAND command2 [args2...] ...]\n"
|
||||
" [DEPENDS depend depend depend ... ])\n"
|
||||
"Adds a target with the given name that executes the given command "
|
||||
"Adds a target with the given name that executes the given commands "
|
||||
"every time the target is built. If the ALL option is specified "
|
||||
"it indicates that this target should be added to the default build "
|
||||
"target so that it will be run every time. "
|
||||
|
||||
Reference in New Issue
Block a user