summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-20 15:28:57 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-04-20 15:29:10 (GMT)
commitbfefcd5734c217cf8b0b47b1fcc4f847521af0c3 (patch)
treee3a9e72182a13b4c8c15de9b5e051906a3bb2861
parent5ea743e759c1f1bb6c4122b32a1f4046b904d472 (diff)
parent692aacfc720e68b3f2df5b0e74018ff0a98b6350 (diff)
downloadCMake-bfefcd5734c217cf8b0b47b1fcc4f847521af0c3.zip
CMake-bfefcd5734c217cf8b0b47b1fcc4f847521af0c3.tar.gz
CMake-bfefcd5734c217cf8b0b47b1fcc4f847521af0c3.tar.bz2
Merge topic 'target-runtime-dlls-doc'
692aacfc72 Help: Remove references to MODULE in $<TARGET_RUNTIME_DLLS> doc Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7186
-rw-r--r--Help/manual/cmake-generator-expressions.7.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst
index 530a406..3389968 100644
--- a/Help/manual/cmake-generator-expressions.7.rst
+++ b/Help/manual/cmake-generator-expressions.7.rst
@@ -1057,10 +1057,10 @@ which is just the string ``tgt``.
.. versionadded:: 3.21
List of DLLs that the target depends on at runtime. This is determined by
- the locations of all the ``SHARED`` and ``MODULE`` targets in the target's
- transitive dependencies. Using this generator expression on targets other
- than executables, ``SHARED`` libraries, and ``MODULE`` libraries is an error.
- On non-DLL platforms, it evaluates to an empty string.
+ the locations of all the ``SHARED`` targets in the target's transitive
+ dependencies. Using this generator expression on targets other than
+ executables, ``SHARED`` libraries, and ``MODULE`` libraries is an error. On
+ non-DLL platforms, it evaluates to an empty string.
This generator expression can be used to copy all of the DLLs that a target
depends on into its output directory in a ``POST_BUILD`` custom command. For
@@ -1080,9 +1080,9 @@ which is just the string ``tgt``.
.. note::
:ref:`Imported Targets` are supported only if they know the location
- of their ``.dll`` files. An imported ``SHARED`` or ``MODULE`` library
- must have :prop_tgt:`IMPORTED_LOCATION` set to its ``.dll`` file. See
- the :ref:`add_library imported libraries <add_library imported libraries>`
+ of their ``.dll`` files. An imported ``SHARED`` library must have
+ :prop_tgt:`IMPORTED_LOCATION` set to its ``.dll`` file. See the
+ :ref:`add_library imported libraries <add_library imported libraries>`
section for details. Many :ref:`Find Modules` produce imported targets
with the ``UNKNOWN`` type and therefore will be ignored.