CMAKE_LANG_COMPILER_ID.rst 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. ``Diab`` `Wind River Systems Diab Compiler`_
  20. ``Embarcadero``, ``Borland`` `Embarcadero`_
  21. ``Flang`` `Classic Flang Fortran Compiler`_
  22. ``LLVMFlang`` `LLVM Flang Fortran Compiler`_
  23. ``Fujitsu`` Fujitsu HPC compiler (Trad mode)
  24. ``FujitsuClang`` Fujitsu HPC compiler (Clang mode)
  25. ``G95`` `G95 Fortran`_
  26. ``GNU`` `GNU Compiler Collection`_
  27. ``GHS`` `Green Hills Software`_
  28. ``HP`` Hewlett-Packard Compiler
  29. ``IAR`` IAR Systems
  30. ``Intel`` Intel Classic Compiler
  31. ``IntelLLVM`` `Intel LLVM-Based Compiler`_
  32. ``LCC`` MCST Elbrus C/C++/Fortran Compiler
  33. ``LFortran`` LFortran Fortran Compiler
  34. ``MSVC`` `Microsoft Visual Studio`_
  35. ``NVHPC`` `NVIDIA HPC Compiler`_
  36. ``NVIDIA`` `NVIDIA CUDA Compiler`_
  37. ``OrangeC`` `OrangeC Compiler`_
  38. ``OpenWatcom`` `Open Watcom`_
  39. ``PGI`` The Portland Group
  40. ``PathScale`` PathScale
  41. ``SDCC`` `Small Device C Compiler`_
  42. ``SunPro`` Oracle Developer Studio
  43. ``Tasking`` `Tasking Compiler Toolsets`_
  44. ``TI`` Texas Instruments
  45. ``TIClang`` `Texas Instruments Clang-based Compilers`_
  46. ``TinyCC`` `Tiny C Compiler`_
  47. ``XL``, ``VisualAge``, ``zOS`` IBM XL
  48. ``XLClang`` IBM Clang-based XL
  49. ``IBMClang`` IBM LLVM-based Compiler
  50. =============================== ===============================================
  51. This variable is not guaranteed to be defined for all compilers or
  52. languages.
  53. .. _LLVM Clang: https://clang.llvm.org
  54. .. _Embarcadero: https://www.embarcadero.com
  55. .. _Classic Flang Fortran Compiler: https://github.com/flang-compiler/flang
  56. .. _LLVM Flang Fortran Compiler: https://github.com/llvm/llvm-project/tree/main/flang
  57. .. _G95 Fortran: https://g95.sourceforge.net
  58. .. _GNU Compiler Collection: https://gcc.gnu.org
  59. .. _Green Hills Software: https://www.ghs.com/products/compiler.html
  60. .. _Intel LLVM-Based Compiler: https://www.intel.com/content/www/us/en/developer/tools/oneapi/overview.html
  61. .. _Microsoft Visual Studio: https://visualstudio.microsoft.com
  62. .. _NVIDIA HPC Compiler: https://developer.nvidia.com/hpc-compilers
  63. .. _NVIDIA CUDA Compiler: https://developer.nvidia.com/cuda-llvm-compiler
  64. .. _Open Watcom: https://open-watcom.github.io
  65. .. _OrangeC Compiler: https://github.com/LADSoft/OrangeC
  66. .. _Small Device C Compiler: https://sdcc.sourceforge.net
  67. .. _Tiny C Compiler: https://bellard.org/tcc
  68. .. _Tasking Compiler Toolsets: https://www.tasking.com
  69. .. _Texas Instruments Clang-based Compilers: https://www.ti.com/tool/download/ARM-CGT-CLANG
  70. .. _Wind River Systems Diab Compiler: https://www.windriver.com/resource/wind-river-diab-compiler-product-overview