diff options
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/add_dependencies.rst | 4 | ||||
-rw-r--r-- | Help/release/dev/add_dependencies-INTERFACE-libraries.rst | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/Help/command/add_dependencies.rst b/Help/command/add_dependencies.rst index 1cbac20..c3583cf 100644 --- a/Help/command/add_dependencies.rst +++ b/Help/command/add_dependencies.rst @@ -13,8 +13,8 @@ is one created by one of the :command:`add_executable`, :command:`add_library`, or :command:`add_custom_target` commands. Dependencies added to an :ref:`imported target <Imported Targets>` -are followed transitively in its place since the target itself does -not build. +or an :ref:`interface library <Interface Libraries>` are followed +transitively in its place since the target itself does not build. See the ``DEPENDS`` option of :command:`add_custom_target` and :command:`add_custom_command` commands for adding file-level diff --git a/Help/release/dev/add_dependencies-INTERFACE-libraries.rst b/Help/release/dev/add_dependencies-INTERFACE-libraries.rst new file mode 100644 index 0000000..dfac2af --- /dev/null +++ b/Help/release/dev/add_dependencies-INTERFACE-libraries.rst @@ -0,0 +1,7 @@ +add_dependencies-INTERFACE-libraries +------------------------------------ + +* The :command:`add_dependencies` command learned to allow dependencies + to be added to :ref:`interface libraries <Interface Libraries>`. + Dependencies added to an interface library are followed transitively + in its place since the target itself does not build. |