summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorEisuke Kawashima <15070-e-kwsm@users.noreply.gitlab.kitware.com>2022-05-24 00:25:30 (GMT)
committerBrad King <brad.king@kitware.com>2022-05-24 14:23:43 (GMT)
commit9f863cbd939b738421d74ecf0f887627067656aa (patch)
treea42e5e5f2f8c15dd00fbb6929536c5187347335a /Help
parent95ec7b4c1b41bb0b0695b8385f06a617bb80be11 (diff)
downloadCMake-9f863cbd939b738421d74ecf0f887627067656aa.zip
CMake-9f863cbd939b738421d74ecf0f887627067656aa.tar.gz
CMake-9f863cbd939b738421d74ecf0f887627067656aa.tar.bz2
Help: Document when HIP_COMPILER generator expressions were added
These were added by commit b50bfc8913 (HIP: Add language to CMake, 2020-08-28, v3.21.0-rc1~66^2~4).
Diffstat (limited to 'Help')
-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 d0f708a..a6d2a05 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.
@@ -714,6 +718,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.
@@ -760,6 +766,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.