| CMAKE_<LANG>_COMPILER_ID |
| ------------------------ |
| |
| Compiler identification string. |
| |
| A short string unique to the compiler vendor. Possible values |
| include: |
| |
| =============================== =============================================== |
| Value Name |
| =============================== =============================================== |
| ``Absoft`` `Absoft Fortran`_ |
| ``ADSP`` Analog VisualDSP++ |
| ``AppleClang`` Apple Clang |
| ``ARMCC`` ARM Compiler |
| ``ARMClang`` ARM Compiler based on Clang |
| ``Bruce`` Bruce C Compiler |
| ``CCur`` Concurrent Fortran |
| ``Clang`` `LLVM Clang`_ |
| ``Cray`` Cray Compiler |
| ``Embarcadero``, ``Borland`` `Embarcadero`_ |
| ``Flang`` `Classic Flang Fortran Compiler`_ |
| ``LLVMFlang`` `LLVM Flang Fortran Compiler`_ |
| ``Fujitsu`` Fujitsu HPC compiler (Trad mode) |
| ``FujitsuClang`` Fujitsu HPC compiler (Clang mode) |
| ``G95`` `G95 Fortran`_ |
| ``GNU`` `GNU Compiler Collection`_ |
| ``GHS`` `Green Hills Software`_ |
| ``HP`` Hewlett-Packard Compiler |
| ``IAR`` IAR Systems |
| ``Intel`` Intel Compiler |
| ``IntelLLVM`` Intel LLVM-Based Compiler |
| ``LCC`` MCST Elbrus C/C++/Fortran Compiler |
| ``MSVC`` `Microsoft Visual Studio`_ |
| ``NVHPC`` `NVIDIA HPC Compiler`_ |
| ``NVIDIA`` `NVIDIA CUDA Compiler`_ |
| ``OpenWatcom`` `Open Watcom`_ |
| ``PGI`` The Portland Group |
| ``PathScale`` PathScale |
| ``SDCC`` `Small Device C Compiler`_ |
| ``SunPro`` Oracle Solaris Studio |
| ``TI`` Texas Instruments |
| ``TinyCC`` `Tiny C Compiler`_ |
| ``XL``, ``VisualAge``, ``zOS`` IBM XL |
| ``XLClang`` IBM Clang-based XL |
| ``IBMClang`` IBM LLVM-based Compiler |
| =============================== =============================================== |
| |
| This variable is not guaranteed to be defined for all compilers or |
| languages. |
| |
| .. _Absoft Fortran: https://www.absoft.com |
| .. _LLVM Clang: https://clang.llvm.org |
| .. _Embarcadero: https://www.embarcadero.com |
| .. _Classic Flang Fortran Compiler: https://github.com/flang-compiler/flang |
| .. _LLVM Flang Fortran Compiler: https://github.com/llvm/llvm-project/tree/main/flang |
| .. _G95 Fortran: http://g95.sourceforge.net |
| .. _GNU Compiler Collection: https://gcc.gnu.org |
| .. _Green Hills Software: https://www.ghs.com/products/compiler.html |
| .. _Microsoft Visual Studio: https://visualstudio.microsoft.com |
| .. _NVIDIA HPC Compiler: https://developer.nvidia.com/hpc-compilers |
| .. _NVIDIA CUDA Compiler: https://developer.nvidia.com/cuda-llvm-compiler |
| .. _Open Watcom: https://open-watcom.github.io |
| .. _Small Device C Compiler: http://sdcc.sourceforge.net |
| .. _Tiny C Compiler: https://bellard.org/tcc |