Merge topic 'document-custom-command-no-DEPENDS'
80edcc6
Document custom command behavior without DEPENDS (#11407)
This commit is contained in:
commit
e3b1dc171d
|
@ -152,6 +152,9 @@ public:
|
||||||
"If any dependency is an OUTPUT of another custom command in the "
|
"If any dependency is an OUTPUT of another custom command in the "
|
||||||
"same directory (CMakeLists.txt file) CMake automatically brings the "
|
"same directory (CMakeLists.txt file) CMake automatically brings the "
|
||||||
"other custom command into the target in which this command is built. "
|
"other custom command into the target in which this command is built. "
|
||||||
|
"If DEPENDS is not specified the command will run whenever the OUTPUT "
|
||||||
|
"is missing; if the command does not actually create the OUTPUT then "
|
||||||
|
"the rule will always run. "
|
||||||
"If DEPENDS specifies any target (created by an ADD_* command) "
|
"If DEPENDS specifies any target (created by an ADD_* command) "
|
||||||
"a target-level dependency is created to make sure the target is "
|
"a target-level dependency is created to make sure the target is "
|
||||||
"built before any target using this custom command. Additionally, "
|
"built before any target using this custom command. Additionally, "
|
||||||
|
|
Loading…
Reference in New Issue