diff options
| author | scivision <scivision@users.noreply.github.com> | 2023-11-07 14:47:22 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2023-11-07 18:47:43 (GMT) |
| commit | ae72b04418869b418dcfc21a150ea467050c5489 (patch) | |
| tree | e58d5bb2b0b90fbbb3fd3d31401113bf440c8538 | |
| parent | 5afd411ed0722869ae1be535ba0f9549009b5acc (diff) | |
| download | CMake-ae72b04418869b418dcfc21a150ea467050c5489.zip CMake-ae72b04418869b418dcfc21a150ea467050c5489.tar.gz CMake-ae72b04418869b418dcfc21a150ea467050c5489.tar.bz2 | |
Help: Document when <LANG>_COMPILER_ID genex learned to support multiple ids
It was added in CMake 3.15.
| -rw-r--r-- | Help/manual/cmake-generator-expressions.7.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst index d4a43de..3e58b31 100644 --- a/Help/manual/cmake-generator-expressions.7.rst +++ b/Help/manual/cmake-generator-expressions.7.rst @@ -1053,6 +1053,10 @@ related to most of the expressions in this sub-section. ``1`` if CMake's compiler id of the C compiler matches any one of the entries in ``compiler_ids``, otherwise ``0``. + .. versionchanged:: 3.15 + Multiple ``compiler_ids`` can be specified. + CMake 3.14 and earlier only accepted a single compiler ID. + .. genex:: $<CXX_COMPILER_ID> CMake's compiler id of the CXX compiler used. @@ -1063,6 +1067,10 @@ related to most of the expressions in this sub-section. ``1`` if CMake's compiler id of the CXX compiler matches any one of the entries in ``compiler_ids``, otherwise ``0``. + .. versionchanged:: 3.15 + Multiple ``compiler_ids`` can be specified. + CMake 3.14 and earlier only accepted a single compiler ID. + .. genex:: $<CUDA_COMPILER_ID> .. versionadded:: 3.15 @@ -1115,6 +1123,10 @@ related to most of the expressions in this sub-section. ``1`` if CMake's compiler id of the Fortran compiler matches any one of the entries in ``compiler_ids``, otherwise ``0``. + .. versionchanged:: 3.15 + Multiple ``compiler_ids`` can be specified. + CMake 3.14 and earlier only accepted a single compiler ID. + .. genex:: $<HIP_COMPILER_ID> .. versionadded:: 3.21 |
