diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2022-06-03 09:02:00 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2022-06-03 14:56:58 (GMT) |
commit | 6427902713f165c7494283074113d6ad78a8e167 (patch) | |
tree | daeae95e7546dc6c2c6ffd33f9912d7412f01be5 /Help | |
parent | 0aa0b8e146ea8d1dc50b4c045360abd57c3643e4 (diff) | |
download | CMake-6427902713f165c7494283074113d6ad78a8e167.zip CMake-6427902713f165c7494283074113d6ad78a8e167.tar.gz CMake-6427902713f165c7494283074113d6ad78a8e167.tar.bz2 |
Help: genex: layout updates
* create section for version comparisons
* move $<LINK_LIBRARY> and $<LINK_GROUP> to "Output-Related Expressions" section
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake-generator-expressions.7.rst | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst index 03821ec..73356d9 100644 --- a/Help/manual/cmake-generator-expressions.7.rst +++ b/Help/manual/cmake-generator-expressions.7.rst @@ -99,6 +99,9 @@ String Comparisons ``1`` if ``string`` is member of the semicolon-separated ``list``, else ``0``. Uses case-sensitive comparisons. +Version Comparisons +------------------- + .. genex:: $<VERSION_LESS:v1,v2> ``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 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 =================================== @@ -1363,6 +1347,25 @@ Output-Related Expressions ``LINK_ONLY`` may also be used in a :prop_tgt:`LINK_LIBRARIES` target 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> .. versionadded:: 3.24 |