diff options
author | Brad King <brad.king@kitware.com> | 2013-10-07 19:44:19 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-10-07 19:44:19 (GMT) |
commit | b53a71bb1b5900c79259ae8745de85e437329b51 (patch) | |
tree | f27274e005ae500c23511c188931b81d0be2c145 /Source | |
parent | da0f373885f84729443f9e4d43fb770309745332 (diff) | |
parent | 1bdac7d5a65fe97e01346df105f15a98b76daf30 (diff) | |
download | CMake-b53a71bb1b5900c79259ae8745de85e437329b51.zip CMake-b53a71bb1b5900c79259ae8745de85e437329b51.tar.gz CMake-b53a71bb1b5900c79259ae8745de85e437329b51.tar.bz2 |
Merge topic 'doc-add_dependencies-direction'
1bdac7d add_dependencies: Clarify direction of dependency in docs (#14424)
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmAddDependenciesCommand.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmAddDependenciesCommand.h b/Source/cmAddDependenciesCommand.h index ed80067..148fd99 100644 --- a/Source/cmAddDependenciesCommand.h +++ b/Source/cmAddDependenciesCommand.h @@ -56,14 +56,14 @@ public: virtual const char* GetFullDocumentation() const { return - " add_dependencies(target-name depend-target1\n" - " depend-target2 ...)\n" - "Make a top-level target depend on other top-level targets. A " - "top-level target is one created by ADD_EXECUTABLE, ADD_LIBRARY, " - "or ADD_CUSTOM_TARGET. Adding dependencies with this command " - "can be used to make sure one target is built before another target. " + " add_dependencies(<target> [<target-dependency>]...)\n" + "Make a top-level <target> depend on other top-level targets to " + "ensure that they build before <target> does. " + "A top-level target is one created by ADD_EXECUTABLE, ADD_LIBRARY, " + "or ADD_CUSTOM_TARGET. " "Dependencies added to an IMPORTED target are followed transitively " "in its place since the target itself does not build. " + "\n" "See the DEPENDS option of ADD_CUSTOM_TARGET " "and ADD_CUSTOM_COMMAND for adding file-level dependencies in custom " "rules. See the OBJECT_DEPENDS option in " |