summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_LANG_COMPILER_FRONTEND_VARIANT.rst
diff options
context:
space:
mode:
authorRussell Greene <russell@shotover.com>2022-12-20 01:12:01 (GMT)
committerBrad King <brad.king@kitware.com>2023-01-11 19:50:40 (GMT)
commite4fcdfa3010d097c81035aea9a18ed08b359bf38 (patch)
treeec0c1818f12944bc709b5405f147a2c1804b36fe /Help/variable/CMAKE_LANG_COMPILER_FRONTEND_VARIANT.rst
parent555a892a69a744c4f7513952a0eff191bf4619cd (diff)
downloadCMake-e4fcdfa3010d097c81035aea9a18ed08b359bf38.zip
CMake-e4fcdfa3010d097c81035aea9a18ed08b359bf38.tar.gz
CMake-e4fcdfa3010d097c81035aea9a18ed08b359bf38.tar.bz2
Set CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT on single-variant compilers
The `GNU` and `MSVC` compilers obviously use their own front-end command-line style. Also set this for `AppleClang`. Fixes: #24232
Diffstat (limited to 'Help/variable/CMAKE_LANG_COMPILER_FRONTEND_VARIANT.rst')
-rw-r--r--Help/variable/CMAKE_LANG_COMPILER_FRONTEND_VARIANT.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_LANG_COMPILER_FRONTEND_VARIANT.rst b/Help/variable/CMAKE_LANG_COMPILER_FRONTEND_VARIANT.rst
index 128b1fb..a414463 100644
--- a/Help/variable/CMAKE_LANG_COMPILER_FRONTEND_VARIANT.rst
+++ b/Help/variable/CMAKE_LANG_COMPILER_FRONTEND_VARIANT.rst
@@ -16,3 +16,7 @@ the compiler whose frontend it resembles.
.. note::
In other words, this variable describes what command line options
and language extensions the compiler frontend expects.
+
+.. versionchanged:: 3.26
+ This variable is set for ``GNU``, ``MSVC``, and ``AppleClang``
+ compilers that have only one frontend variant.