Help: Link from usage requirement commands to detailed explanation

Augment vague mentions of "Transitive Usage Requirements" with links to
a detailed explanation.

Fixes: #23799
This commit is contained in:
Hinell
2022-09-07 17:53:30 +03:00
committed by Brad King
parent cabba23ab2
commit 3d31f99b74
10 changed files with 42 additions and 33 deletions
+3 -1
View File
@@ -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