diff options
author | Hinell <al.neodim@gmail.com> | 2022-09-07 14:53:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-09-16 14:54:27 (GMT) |
commit | 3d31f99b744f97d25cbead8aaa55ce8bcb85367b (patch) | |
tree | 4b2e0d4838ed767cac16d2a1b1308e5f47ac611a /Help/command/target_link_libraries.rst | |
parent | cabba23ab270eb5cc672c43265f9eb3cb7dda8cc (diff) | |
download | CMake-3d31f99b744f97d25cbead8aaa55ce8bcb85367b.zip CMake-3d31f99b744f97d25cbead8aaa55ce8bcb85367b.tar.gz CMake-3d31f99b744f97d25cbead8aaa55ce8bcb85367b.tar.bz2 |
Help: Link from usage requirement commands to detailed explanation
Augment vague mentions of "Transitive Usage Requirements" with links to
a detailed explanation.
Fixes: #23799
Diffstat (limited to 'Help/command/target_link_libraries.rst')
-rw-r--r-- | Help/command/target_link_libraries.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/command/target_link_libraries.rst b/Help/command/target_link_libraries.rst index c85094a..bb7b5cc 100644 --- a/Help/command/target_link_libraries.rst +++ b/Help/command/target_link_libraries.rst @@ -146,8 +146,10 @@ Libraries for a Target and/or its Dependents <PRIVATE|PUBLIC|INTERFACE> <item>... [<PRIVATE|PUBLIC|INTERFACE> <item>...]...) -The ``PUBLIC``, ``PRIVATE`` and ``INTERFACE`` keywords can be used to +The ``PUBLIC``, ``PRIVATE`` and ``INTERFACE`` +:ref:`scope <Target Usage Requirements>` keywords can be used to specify both the link dependencies and the link interface in one command. + Libraries and targets following ``PUBLIC`` are linked to, and are made part of the link interface. Libraries and targets following ``PRIVATE`` are linked to, but are not made part of the link interface. Libraries |