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_compile_options.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_compile_options.rst')
-rw-r--r-- | Help/command/target_compile_options.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/command/target_compile_options.rst b/Help/command/target_compile_options.rst index e45b209..0d86c91 100644 --- a/Help/command/target_compile_options.rst +++ b/Help/command/target_compile_options.rst @@ -22,9 +22,9 @@ If ``BEFORE`` is specified, the content will be prepended to the property instead of being appended. The ``INTERFACE``, ``PUBLIC`` and ``PRIVATE`` keywords are required to -specify the scope of the following arguments. ``PRIVATE`` and ``PUBLIC`` -items will populate the :prop_tgt:`COMPILE_OPTIONS` property of -``<target>``. ``PUBLIC`` and ``INTERFACE`` items will populate the +specify the :ref:`scope <Target Usage Requirements>` of the following arguments. +``PRIVATE`` and ``PUBLIC`` items will populate the :prop_tgt:`COMPILE_OPTIONS` +property of ``<target>``. ``PUBLIC`` and ``INTERFACE`` items will populate the :prop_tgt:`INTERFACE_COMPILE_OPTIONS` property of ``<target>``. The following arguments specify compile options. Repeated calls for the same ``<target>`` append items in the order called. |