CMAKE_LANG_COMPILER_ID.rst 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. CMAKE_<LANG>_COMPILER_ID
  2. ------------------------
  3. Compiler identification string.
  4. A short string unique to the compiler vendor. Possible values
  5. include:
  6. =============================== ===============================================
  7. Value Name
  8. =============================== ===============================================
  9. ``Absoft`` Absoft Fortran
  10. ``ADSP`` Analog VisualDSP++
  11. ``AppleClang`` Apple Clang
  12. ``ARMCC`` ARM Compiler
  13. ``ARMClang`` ARM Compiler based on Clang
  14. ``Bruce`` Bruce C Compiler
  15. ``CCur`` Concurrent Fortran
  16. ``Clang`` `LLVM Clang`_
  17. ``Cray`` Cray Compiler
  18. ``CrayClang`` Cray Clang-based Compiler
  19. ``Embarcadero``, ``Borland`` `Embarcadero`_
  20. ``Flang`` `Classic Flang Fortran Compiler`_
  21. ``LLVMFlang`` `LLVM Flang Fortran Compiler`_
  22. ``Fujitsu`` Fujitsu HPC compiler (Trad mode)
  23. ``FujitsuClang`` Fujitsu HPC compiler (Clang mode)
  24. ``G95`` `G95 Fortran`_
  25. ``GNU`` `GNU Compiler Collection`_
  26. ``GHS`` `Green Hills Software`_
  27. ``HP`` Hewlett-Packard Compiler
  28. ``IAR`` IAR Systems
  29. ``Intel`` Intel Classic Compiler
  30. ``IntelLLVM`` `Intel LLVM-Based Compiler`_
  31. ``LCC`` MCST Elbrus C/C++/Fortran Compiler
  32. ``LFortran`` LFortran Fortran Compiler
  33. ``MSVC`` `Microsoft Visual Studio`_
  34. ``NVHPC`` `NVIDIA HPC Compiler`_
  35. ``NVIDIA`` `NVIDIA CUDA Compiler`_
  36. ``OrangeC`` `OrangeC Compiler`_
  37. ``OpenWatcom`` `Open Watcom`_
  38. ``PGI`` The Portland Group
  39. ``PathScale`` PathScale
  40. ``SDCC`` `Small Device C Compiler`_
  41. ``SunPro`` Oracle Solaris Studio
  42. ``Tasking`` `Tasking Compiler Toolsets`_
  43. ``TI`` Texas Instruments
  44. ``TIClang`` `Texas Instruments Clang-based Compilers`_
  45. ``TinyCC`` `Tiny C Compiler`_
  46. ``XL``, ``VisualAge``, ``zOS`` IBM XL
  47. ``XLClang`` IBM Clang-based XL
  48. ``IBMClang`` IBM LLVM-based Compiler
  49. =============================== ===============================================
  50. This variable is not guaranteed to be defined for all compilers or
  51. languages.
  52. .. _LLVM Clang: https://clang.llvm.org
  53. .. _Embarcadero: https://www.embarcadero.com
  54. .. _Classic Flang Fortran Compiler: https://github.com/flang-compiler/flang
  55. .. _LLVM Flang Fortran Compiler: https://github.com/llvm/llvm-project/tree/main/flang
  56. .. _G95 Fortran: https://g95.sourceforge.net
  57. .. _GNU Compiler Collection: https://gcc.gnu.org
  58. .. _Green Hills Software: https://www.ghs.com/products/compiler.html
  59. .. _Intel LLVM-Based Compiler: https://www.intel.com/content/www/us/en/developer/tools/oneapi/overview.html
  60. .. _Microsoft Visual Studio: https://visualstudio.microsoft.com
  61. .. _NVIDIA HPC Compiler: https://developer.nvidia.com/hpc-compilers
  62. .. _NVIDIA CUDA Compiler: https://developer.nvidia.com/cuda-llvm-compiler
  63. .. _Open Watcom: https://open-watcom.github.io
  64. .. _OrangeC Compiler: https://github.com/LADSoft/OrangeC
  65. .. _Small Device C Compiler: https://sdcc.sourceforge.net
  66. .. _Tiny C Compiler: https://bellard.org/tcc
  67. .. _Tasking Compiler Toolsets: https://www.tasking.com
  68. .. _Texas Instruments Clang-based Compilers: https://www.ti.com/tool/download/ARM-CGT-CLANG