2013-10-15 19:17:36 +04:00
|
|
|
CMAKE_COMPILER_IS_GNU<LANG>
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
True if the compiler is GNU.
|
|
|
|
|
2015-08-18 08:34:01 +03:00
|
|
|
If the selected ``<LANG>`` compiler is the GNU compiler then this is ``TRUE``,
|
|
|
|
if not it is ``FALSE``. Unlike the other per-language variables, this
|
2013-10-15 19:17:36 +04:00
|
|
|
uses the GNU syntax for identifying languages instead of the CMake
|
2015-08-18 08:34:01 +03:00
|
|
|
syntax. Recognized values of the ``<LANG>`` suffix are:
|
2013-10-15 19:17:36 +04:00
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
CC = C compiler
|
|
|
|
CXX = C++ compiler
|
|
|
|
G77 = Fortran compiler
|