summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-05-24 17:59:20 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-05-24 17:59:28 (GMT)
commitc6f03a2225a0c126a2d97df95d441d7649449ed7 (patch)
tree016de0f6249efdc82ecf80804ed11268035870e2
parentefe060b04f9d8d0e6072dd188e1b4c7f69e4e2b1 (diff)
parent9f863cbd939b738421d74ecf0f887627067656aa (diff)
downloadCMake-c6f03a2225a0c126a2d97df95d441d7649449ed7.zip
CMake-c6f03a2225a0c126a2d97df95d441d7649449ed7.tar.gz
CMake-c6f03a2225a0c126a2d97df95d441d7649449ed7.tar.bz2
Merge topic 'doc-hip-genex-versionadded'
9f863cbd93 Help: Document when HIP_COMPILER generator expressions were added Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7289
-rw-r--r--Help/manual/cmake-generator-expressions.7.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst
index 22c14df..848a133 100644
--- a/Help/manual/cmake-generator-expressions.7.rst
+++ b/Help/manual/cmake-generator-expressions.7.rst
@@ -197,6 +197,8 @@ Variable Queries
.. genex:: $<HIP_COMPILER_ID:compiler_ids>
+ .. versionadded:: 3.21
+
where ``compiler_ids`` is a comma-separated list.
``1`` if the CMake's compiler id of the HIP compiler matches any one
of the entries in ``compiler_ids``, otherwise ``0``.
@@ -249,6 +251,8 @@ Variable Queries
.. genex:: $<HIP_COMPILER_VERSION:version>
+ .. versionadded:: 3.21
+
``1`` if the version of the HIP compiler matches ``version``, otherwise ``0``.
See also the :variable:`CMAKE_<LANG>_COMPILER_VERSION` variable.
@@ -716,6 +720,8 @@ Variable Queries
.. genex:: $<HIP_COMPILER_ID>
+ .. versionadded:: 3.21
+
The CMake's compiler id of the HIP compiler used.
See also the :variable:`CMAKE_<LANG>_COMPILER_ID` variable.
@@ -762,6 +768,8 @@ Variable Queries
.. genex:: $<HIP_COMPILER_VERSION>
+ .. versionadded:: 3.21
+
The version of the HIP compiler used.
See also the :variable:`CMAKE_<LANG>_COMPILER_VERSION` variable.