summaryrefslogtreecommitdiffstats
path: root/Help/policy
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-05-03 15:57:58 (GMT)
committerBrad King <brad.king@kitware.com>2024-05-03 16:07:40 (GMT)
commite300620a094eb6b8a9b290b9c9726076fcdcd0fe (patch)
tree4f702cc0c12c4dbcc7d3b51ac7a7d9a1e066e6d3 /Help/policy
parent1027c0e213a2dc0175c5645fbd9f5989751fae63 (diff)
downloadCMake-e300620a094eb6b8a9b290b9c9726076fcdcd0fe.zip
CMake-e300620a094eb6b8a9b290b9c9726076fcdcd0fe.tar.gz
CMake-e300620a094eb6b8a9b290b9c9726076fcdcd0fe.tar.bz2
Help: Clarify cmake-buildsystem(7) compile properties section names
In commit 835f34949e (Help: Update cmake-buildsystem(7) build and usage requirements, 2024-04-23) we labeled the sections documenting `COMPILE_*` properties as "build properties". All the properties it documents are about compilation steps before linking, including the Autogen features for compiling Qt metadata, so rename the sections as "compile properties". This is also consistent with the name of the `$<COMPILE_ONLY:...>` generator expression.
Diffstat (limited to 'Help/policy')
-rw-r--r--Help/policy/CMP0166.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/policy/CMP0166.rst b/Help/policy/CMP0166.rst
index 5c67880..0534559 100644
--- a/Help/policy/CMP0166.rst
+++ b/Help/policy/CMP0166.rst
@@ -9,7 +9,7 @@ dependencies of static libraries.
In CMake 3.29 and below, the :genex:`TARGET_PROPERTY` generator expression
evaluates properties :prop_tgt:`INTERFACE_LINK_OPTIONS`,
:prop_tgt:`INTERFACE_LINK_DIRECTORIES`, and :prop_tgt:`INTERFACE_LINK_DEPENDS`
-as if they were :ref:`Transitive Build Properties` rather than
+as if they were :ref:`Transitive Compile Properties` rather than
:ref:`Transitive Link Properties`, even when policy :policy:`CMP0099` is
set to ``NEW``. Private dependencies of static libraries, which appear in
their :prop_tgt:`INTERFACE_LINK_LIBRARIES` guarded by :genex:`LINK_ONLY`
@@ -28,7 +28,7 @@ to expect the new behavior.
The ``OLD`` behavior for this policy is for :genex:`TARGET_PROPERTY` to
evaluate properties :prop_tgt:`INTERFACE_LINK_OPTIONS`,
:prop_tgt:`INTERFACE_LINK_DIRECTORIES`, and :prop_tgt:`INTERFACE_LINK_DEPENDS`
-as if they were :ref:`Transitive Build Properties` by not following private
+as if they were :ref:`Transitive Compile Properties` by not following private
dependencies of static libraries. The ``NEW`` behavior for this policy is
to evaluate them as :ref:`Transitive Link Properties` by following private
dependencies of static libraries.