mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
Help: genex: layout updates
* create section for version comparisons * move $<LINK_LIBRARY> and $<LINK_GROUP> to "Output-Related Expressions" section
This commit is contained in:
@@ -99,6 +99,9 @@ String Comparisons
|
|||||||
``1`` if ``string`` is member of the semicolon-separated ``list``, else ``0``.
|
``1`` if ``string`` is member of the semicolon-separated ``list``, else ``0``.
|
||||||
Uses case-sensitive comparisons.
|
Uses case-sensitive comparisons.
|
||||||
|
|
||||||
|
Version Comparisons
|
||||||
|
-------------------
|
||||||
|
|
||||||
.. genex:: $<VERSION_LESS:v1,v2>
|
.. genex:: $<VERSION_LESS:v1,v2>
|
||||||
|
|
||||||
``1`` if ``v1`` is a version less than ``v2``, else ``0``.
|
``1`` if ``v1`` is a version less than ``v2``, else ``0``.
|
||||||
@@ -557,25 +560,6 @@ Variable Queries
|
|||||||
evaluation will give ``C`` as link language, so the second pass will
|
evaluation will give ``C`` as link language, so the second pass will
|
||||||
correctly add target ``libother`` as link dependency.
|
correctly add target ``libother`` as link dependency.
|
||||||
|
|
||||||
.. genex:: $<DEVICE_LINK:list>
|
|
||||||
|
|
||||||
.. versionadded:: 3.18
|
|
||||||
|
|
||||||
Returns the list if it is the device link step, an empty list otherwise.
|
|
||||||
The device link step is controlled by :prop_tgt:`CUDA_SEPARABLE_COMPILATION`
|
|
||||||
and :prop_tgt:`CUDA_RESOLVE_DEVICE_SYMBOLS` properties and
|
|
||||||
policy :policy:`CMP0105`. This expression can only be used to specify link
|
|
||||||
options.
|
|
||||||
|
|
||||||
.. genex:: $<HOST_LINK:list>
|
|
||||||
|
|
||||||
.. versionadded:: 3.18
|
|
||||||
|
|
||||||
Returns the list if it is the normal link step, an empty list otherwise.
|
|
||||||
This expression is mainly useful when a device link step is also involved
|
|
||||||
(see ``$<DEVICE_LINK:list>`` generator expression). This expression can only
|
|
||||||
be used to specify link options.
|
|
||||||
|
|
||||||
String-Valued Generator Expressions
|
String-Valued Generator Expressions
|
||||||
===================================
|
===================================
|
||||||
|
|
||||||
@@ -1363,6 +1347,25 @@ Output-Related Expressions
|
|||||||
``LINK_ONLY`` may also be used in a :prop_tgt:`LINK_LIBRARIES` target
|
``LINK_ONLY`` may also be used in a :prop_tgt:`LINK_LIBRARIES` target
|
||||||
property. See policy :policy:`CMP0131`.
|
property. See policy :policy:`CMP0131`.
|
||||||
|
|
||||||
|
.. genex:: $<DEVICE_LINK:list>
|
||||||
|
|
||||||
|
.. versionadded:: 3.18
|
||||||
|
|
||||||
|
Returns the list if it is the device link step, an empty list otherwise.
|
||||||
|
The device link step is controlled by :prop_tgt:`CUDA_SEPARABLE_COMPILATION`
|
||||||
|
and :prop_tgt:`CUDA_RESOLVE_DEVICE_SYMBOLS` properties and
|
||||||
|
policy :policy:`CMP0105`. This expression can only be used to specify link
|
||||||
|
options.
|
||||||
|
|
||||||
|
.. genex:: $<HOST_LINK:list>
|
||||||
|
|
||||||
|
.. versionadded:: 3.18
|
||||||
|
|
||||||
|
Returns the list if it is the normal link step, an empty list otherwise.
|
||||||
|
This expression is mainly useful when a device link step is also involved
|
||||||
|
(see :genex:`$<DEVICE_LINK:list>` generator expression). This expression can
|
||||||
|
only be used to specify link options.
|
||||||
|
|
||||||
.. genex:: $<LINK_LIBRARY:feature,library-list>
|
.. genex:: $<LINK_LIBRARY:feature,library-list>
|
||||||
|
|
||||||
.. versionadded:: 3.24
|
.. versionadded:: 3.24
|
||||||
|
|||||||
Reference in New Issue
Block a user