From 711031df7cecffbdc26e1ba9c36e9725990fd42b Mon Sep 17 00:00:00 2001 From: friendlyanon Date: Tue, 24 May 2022 18:01:38 +0200 Subject: Help: Deprecate the CMAKE_COMPILER_IS_GNU* variables Fixes: #23526 --- Help/variable/CMAKE_COMPILER_IS_GNUCC.rst | 4 +++- Help/variable/CMAKE_COMPILER_IS_GNUCXX.rst | 4 +++- Help/variable/CMAKE_COMPILER_IS_GNUG77.rst | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Help/variable/CMAKE_COMPILER_IS_GNUCC.rst b/Help/variable/CMAKE_COMPILER_IS_GNUCC.rst index a40667e..4b799c0 100644 --- a/Help/variable/CMAKE_COMPILER_IS_GNUCC.rst +++ b/Help/variable/CMAKE_COMPILER_IS_GNUCC.rst @@ -2,4 +2,6 @@ CMAKE_COMPILER_IS_GNUCC ----------------------- True if the ``C`` compiler is GNU. -Use :variable:`CMAKE_C_COMPILER_ID _COMPILER_ID>` instead. + +This variable is deprecated. Use +:variable:`CMAKE_C_COMPILER_ID _COMPILER_ID>` instead. diff --git a/Help/variable/CMAKE_COMPILER_IS_GNUCXX.rst b/Help/variable/CMAKE_COMPILER_IS_GNUCXX.rst index f1f5cf7..29069d2 100644 --- a/Help/variable/CMAKE_COMPILER_IS_GNUCXX.rst +++ b/Help/variable/CMAKE_COMPILER_IS_GNUCXX.rst @@ -2,4 +2,6 @@ CMAKE_COMPILER_IS_GNUCXX ------------------------ True if the C++ (``CXX``) compiler is GNU. -Use :variable:`CMAKE_CXX_COMPILER_ID _COMPILER_ID>` instead. + +This variable is deprecated. Use +:variable:`CMAKE_CXX_COMPILER_ID _COMPILER_ID>` instead. diff --git a/Help/variable/CMAKE_COMPILER_IS_GNUG77.rst b/Help/variable/CMAKE_COMPILER_IS_GNUG77.rst index 3d6dab4..05303dc 100644 --- a/Help/variable/CMAKE_COMPILER_IS_GNUG77.rst +++ b/Help/variable/CMAKE_COMPILER_IS_GNUG77.rst @@ -2,4 +2,6 @@ CMAKE_COMPILER_IS_GNUG77 ------------------------ True if the ``Fortran`` compiler is GNU. -Use :variable:`CMAKE_Fortran_COMPILER_ID _COMPILER_ID>` instead. + +This variable is deprecated. Use +:variable:`CMAKE_Fortran_COMPILER_ID _COMPILER_ID>` instead. -- cgit v0.12