Help: Deprecate the CMAKE_COMPILER_IS_GNU* variables

Fixes: #23526
This commit is contained in:
friendlyanon committed 2022-05-24 18:01:38 +02:00
1 parent c058fdb92a
commit 711031df7c
3 files changed
+9 -3

No files matched your search

+3 -1
View File
@@ -2,4 +2,6 @@ CMAKE_COMPILER_IS_GNUCC
-----------------------
True if the ``C`` compiler is GNU.
Use :variable:`CMAKE_C_COMPILER_ID <CMAKE_<LANG>_COMPILER_ID>` instead.
This variable is deprecated. Use
:variable:`CMAKE_C_COMPILER_ID <CMAKE_<LANG>_COMPILER_ID>` instead.
+3 -1
View File
@@ -2,4 +2,6 @@ CMAKE_COMPILER_IS_GNUCXX
------------------------
True if the C++ (``CXX``) compiler is GNU.
Use :variable:`CMAKE_CXX_COMPILER_ID <CMAKE_<LANG>_COMPILER_ID>` instead.
This variable is deprecated. Use
:variable:`CMAKE_CXX_COMPILER_ID <CMAKE_<LANG>_COMPILER_ID>` instead.
+3 -1
View File
@@ -2,4 +2,6 @@ CMAKE_COMPILER_IS_GNUG77
------------------------
True if the ``Fortran`` compiler is GNU.
Use :variable:`CMAKE_Fortran_COMPILER_ID <CMAKE_<LANG>_COMPILER_ID>` instead.
This variable is deprecated. Use
:variable:`CMAKE_Fortran_COMPILER_ID <CMAKE_<LANG>_COMPILER_ID>` instead.