summaryrefslogtreecommitdiffstats
path: root/Help/command/add_dependencies.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-01 13:13:23 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-01 13:13:23 (GMT)
commit9504d7a99bdb1a1c4b50ce8dc6ceced89f1fdb48 (patch)
tree972bb8aec921a921287efd19510a670a343faeb3 /Help/command/add_dependencies.rst
parent49959d7a23a8b1261e3120643ee189869d552929 (diff)
downloadCMake-9504d7a99bdb1a1c4b50ce8dc6ceced89f1fdb48.zip
CMake-9504d7a99bdb1a1c4b50ce8dc6ceced89f1fdb48.tar.gz
CMake-9504d7a99bdb1a1c4b50ce8dc6ceced89f1fdb48.tar.bz2
Help: Explicitly mention lack of 'install' support in add_dependencies
CMake-generated targets are not supported by add_dependencies. State this explicitly and use 'install' as an example since this may be commonly attempted.
Diffstat (limited to 'Help/command/add_dependencies.rst')
-rw-r--r--Help/command/add_dependencies.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/command/add_dependencies.rst b/Help/command/add_dependencies.rst
index c3583cf..7a66143 100644
--- a/Help/command/add_dependencies.rst
+++ b/Help/command/add_dependencies.rst
@@ -10,7 +10,8 @@ Add a dependency between top-level targets.
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 one of the :command:`add_executable`,
-:command:`add_library`, or :command:`add_custom_target` commands.
+:command:`add_library`, or :command:`add_custom_target` commands
+(but not targets generated by CMake like ``install``).
Dependencies added to an :ref:`imported target <Imported Targets>`
or an :ref:`interface library <Interface Libraries>` are followed