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.
This commit is contained in:
Ruslan Baratov
2017-04-02 22:29:31 +08:00
committed by Brad King
parent b2feb958ac
commit 7393418844
12 changed files with 33 additions and 29 deletions
@@ -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`.
@@ -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`.