CMake/Help/variable/CMAKE_COMPILER_IS_GNULANG.rst
James Johnston 3bb707f0a1 Help: Improve formatting of variable documentation
Improve formatting, primarily by:

* Adding links to relevant commands, properties, generators, and so on.
* Converting code, symbols, paths, and so on to fixed-width fonts.
* Hard wrapping lines to 80 characters or less.
2015-08-21 09:32:08 -04:00

16 lines
430 B
ReStructuredText

CMAKE_COMPILER_IS_GNU<LANG>
---------------------------
True if the compiler is GNU.
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
uses the GNU syntax for identifying languages instead of the CMake
syntax. Recognized values of the ``<LANG>`` suffix are:
::
CC = C compiler
CXX = C++ compiler
G77 = Fortran compiler