cmake/Help/variable/CMAKE_COMPILER_IS_GNULANG.rst

16 lines
430 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_COMPILER_IS_GNU<LANG>
---------------------------
True if the compiler is GNU.
2015-11-17 17:22:37 +01: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
2014-08-03 19:52:23 +02:00
uses the GNU syntax for identifying languages instead of the CMake
2015-11-17 17:22:37 +01:00
syntax. Recognized values of the ``<LANG>`` suffix are:
2014-08-03 19:52:23 +02:00
::
CC = C compiler
CXX = C++ compiler
G77 = Fortran compiler