diff options
author | Brad King <brad.king@kitware.com> | 2015-06-01 13:13:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-06-01 13:13:23 (GMT) |
commit | 9504d7a99bdb1a1c4b50ce8dc6ceced89f1fdb48 (patch) | |
tree | 972bb8aec921a921287efd19510a670a343faeb3 /Help/command/add_dependencies.rst | |
parent | 49959d7a23a8b1261e3120643ee189869d552929 (diff) | |
download | CMake-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.rst | 3 |
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 |