Help: Add intro text to cmake-buildsystem(7) build properties sections

This commit is contained in:
Brad King
2024-05-06 20:18:13 -04:00
parent 71c52c76fa
commit 9ec61c72e3
+12
View File
@@ -314,6 +314,9 @@ dependencies.
Target Compile Properties Target Compile Properties
^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
These represent the `build specification <Target Build Specification_>`_
for compiling a target.
:prop_tgt:`COMPILE_DEFINITIONS` :prop_tgt:`COMPILE_DEFINITIONS`
List of compile definitions for compiling sources in the target. List of compile definitions for compiling sources in the target.
These are passed to the compiler with ``-D`` flags, or equivalent, These are passed to the compiler with ``-D`` flags, or equivalent,
@@ -378,6 +381,9 @@ Target Compile Properties
Target Link Properties Target Link Properties
^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^
These represent the `build specification <Target Build Specification_>`_
for linking a target.
:prop_tgt:`LINK_LIBRARIES` :prop_tgt:`LINK_LIBRARIES`
List of link libraries for linking the target, if it is an executable, List of link libraries for linking the target, if it is an executable,
shared library, or module library. Entries for `Normal Libraries`_ are shared library, or module library. Entries for `Normal Libraries`_ are
@@ -510,6 +516,9 @@ command. See :ref:`Creating Packages` for more.
Transitive Compile Properties Transitive Compile Properties
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
These represent `usage requirements <Target Usage Requirements_>`_ for
compiling consumers.
:prop_tgt:`INTERFACE_COMPILE_DEFINITIONS` :prop_tgt:`INTERFACE_COMPILE_DEFINITIONS`
List of compile definitions for compiling sources in the target's consumers. List of compile definitions for compiling sources in the target's consumers.
Typically these are used by the target's header files. Typically these are used by the target's header files.
@@ -561,6 +570,9 @@ Transitive Compile Properties
Transitive Link Properties Transitive Link Properties
^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^
These represent `usage requirements <Target Usage Requirements_>`_ for
linking consumers.
:prop_tgt:`INTERFACE_LINK_LIBRARIES` :prop_tgt:`INTERFACE_LINK_LIBRARIES`
List of link libraries for linking the target's consumers, for List of link libraries for linking the target's consumers, for
those that are executables, shared libraries, or module libraries. those that are executables, shared libraries, or module libraries.