summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_LANG_COMPILER_ID.rst
blob: 6a0a1d9cd4c590a33edcf91d9dc13dc5df9673e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
CMAKE_<LANG>_COMPILER_ID
------------------------

Compiler identification string.

A short string unique to the compiler vendor.  Possible values
include:

::

  Absoft = Absoft Fortran (absoft.com)
  ADSP = Analog VisualDSP++ (analog.com)
  AppleClang = Apple Clang (apple.com)
  ARMCC = ARM Compiler (arm.com)
  ARMClang = ARM Compiler based on Clang (arm.com)
  Bruce = Bruce C Compiler
  CCur = Concurrent Fortran (ccur.com)
  Clang = LLVM Clang (clang.llvm.org)
  Cray = Cray Compiler (cray.com)
  Embarcadero, Borland = Embarcadero (embarcadero.com)
  Flang = Classic Flang Fortran Compiler (https://github.com/flang-compiler/flang)
  LLVMFlang = LLVM Flang Fortran Compiler (https://github.com/llvm/llvm-project/tree/main/flang)
  Fujitsu = Fujitsu HPC compiler (Trad mode)
  FujitsuClang = Fujitsu HPC compiler (Clang mode)
  G95 = G95 Fortran (g95.org)
  GNU = GNU Compiler Collection (gcc.gnu.org)
  GHS = Green Hills Software (www.ghs.com)
  HP = Hewlett-Packard Compiler (hp.com)
  IAR = IAR Systems (iar.com)
  Intel = Intel Compiler (intel.com)
  IntelLLVM = Intel LLVM-Based Compiler (intel.com)
  LCC = MCST Elbrus C/C++/Fortran Compiler (mcst.ru)
  MSVC = Microsoft Visual Studio (microsoft.com)
  NVHPC = NVIDIA HPC SDK Compiler (nvidia.com)
  NVIDIA = NVIDIA CUDA Compiler (nvidia.com)
  OpenWatcom = Open Watcom (openwatcom.org)
  PGI = The Portland Group (pgroup.com)
  PathScale = PathScale (pathscale.com)
  SDCC = Small Device C Compiler (sdcc.sourceforge.net)
  SunPro = Oracle Solaris Studio (oracle.com)
  TI = Texas Instruments (ti.com)
  TinyCC = Tiny C Compiler (tinycc.org)
  XL, VisualAge, zOS = IBM XL (ibm.com)
  XLClang = IBM Clang-based XL (ibm.com)
  IBMClang = IBM LLVM-based Compiler (ibm.com)

This variable is not guaranteed to be defined for all compilers or
languages.