summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2017-04-02 14:29:31 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-03 18:10:50 (GMT)
commit73934188446d2f8b149d5458008e1b267b37c3d9 (patch)
treebc3b6132bb39966d789b92d3f75cd10ba4f29d02 /Help/variable
parentb2feb958ac29d37bfba419043250939c90d36dca (diff)
downloadCMake-73934188446d2f8b149d5458008e1b267b37c3d9.zip
CMake-73934188446d2f8b149d5458008e1b267b37c3d9.tar.gz
CMake-73934188446d2f8b149d5458008e1b267b37c3d9.tar.bz2
Rename CMAKE_GCC_{AR,RANLIB} to CMAKE_LANG_COMPILER_{AR,RANLIB}
The variables recently added by commit b9d36826 (Add 'CMAKE_GCC_AR' and 'CMAKE_GCC_RANLIB' variables, 2017-03-08) are more appropriately managed with language-specific names rather than toolchain-specific names.
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_LANG_COMPILER_AR.rst (renamed from Help/variable/CMAKE_GCC_AR.rst)6
-rw-r--r--Help/variable/CMAKE_LANG_COMPILER_RANLIB.rst (renamed from Help/variable/CMAKE_GCC_RANLIB.rst)6
2 files changed, 6 insertions, 6 deletions
diff --git a/Help/variable/CMAKE_GCC_AR.rst b/Help/variable/CMAKE_LANG_COMPILER_AR.rst
index ac90b46..b83a1d4 100644
--- a/Help/variable/CMAKE_GCC_AR.rst
+++ b/Help/variable/CMAKE_LANG_COMPILER_AR.rst
@@ -1,7 +1,7 @@
-CMAKE_GCC_AR
-------------
+CMAKE_<LANG>_COMPILER_AR
+------------------------
A wrapper around ``ar`` adding the appropriate ``--plugin`` option for the
-GCC compiler. For other compilers variable is not defined.
+compiler.
See also :variable:`CMAKE_AR`.
diff --git a/Help/variable/CMAKE_GCC_RANLIB.rst b/Help/variable/CMAKE_LANG_COMPILER_RANLIB.rst
index 3d42aba..945160b 100644
--- a/Help/variable/CMAKE_GCC_RANLIB.rst
+++ b/Help/variable/CMAKE_LANG_COMPILER_RANLIB.rst
@@ -1,7 +1,7 @@
-CMAKE_GCC_RANLIB
-----------------
+CMAKE_<LANG>_COMPILER_RANLIB
+----------------------------
A wrapper around ``ranlib`` adding the appropriate ``--plugin`` option for the
-GCC compiler. For other compilers variable is not defined.
+compiler.
See also :variable:`CMAKE_RANLIB`.