diff options
author | Brad King <brad.king@kitware.com> | 2024-05-03 15:57:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-05-03 16:07:40 (GMT) |
commit | e300620a094eb6b8a9b290b9c9726076fcdcd0fe (patch) | |
tree | 4f702cc0c12c4dbcc7d3b51ac7a7d9a1e066e6d3 /Help/manual/cmake-buildsystem.7.rst | |
parent | 1027c0e213a2dc0175c5645fbd9f5989751fae63 (diff) | |
download | CMake-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/manual/cmake-buildsystem.7.rst')
-rw-r--r-- | Help/manual/cmake-buildsystem.7.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Help/manual/cmake-buildsystem.7.rst b/Help/manual/cmake-buildsystem.7.rst index 9eca05d..acb1ed7 100644 --- a/Help/manual/cmake-buildsystem.7.rst +++ b/Help/manual/cmake-buildsystem.7.rst @@ -302,17 +302,17 @@ Target Build Specification -------------------------- The build specification of `Binary Targets`_ is represented by target -properties. For each of the following `build <Target Build Properties_>`_ +properties. For each of the following `compile <Target Compile Properties_>`_ and `link <Target Link Properties_>`_ properties, compilation and linking of the target is affected both by its own value and by the corresponding `usage requirement <Target Usage Requirements_>`_ property, named with an ``INTERFACE_`` prefix, collected from the transitive closure of link dependencies. -.. _`Target Build Properties`: +.. _`Target Compile Properties`: -Target Build Properties -^^^^^^^^^^^^^^^^^^^^^^^ +Target Compile Properties +^^^^^^^^^^^^^^^^^^^^^^^^^ :prop_tgt:`COMPILE_DEFINITIONS` List of compile definitions for compiling sources in the target. @@ -422,7 +422,7 @@ Target Usage Requirements The *usage requirements* of a target are settings that propagate to consumers, which link to the target via :command:`target_link_libraries`, in order to correctly compile and link with it. They are represented by transitive -`build <Transitive Build Properties_>`_ and +`compile <Transitive Compile Properties_>`_ and `link <Transitive Link Properties_>`_ properties. Note that usage requirements are not designed as a way to make downstreams @@ -505,10 +505,10 @@ Note that care must be taken when specifying usage requirements for targets which will be exported for installation using the :command:`install(EXPORT)` command. See :ref:`Creating Packages` for more. -.. _`Transitive Build Properties`: +.. _`Transitive Compile Properties`: -Transitive Build Properties -^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Transitive Compile Properties +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :prop_tgt:`INTERFACE_COMPILE_DEFINITIONS` List of compile definitions for compiling sources in the target's consumers. |