CMAKE_LANG_COMPILER_ID.rst 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. ``Embarcadero``, ``Borland`` `Embarcadero`_
  19. ``Flang`` `Classic Flang Fortran Compiler`_
  20. ``LLVMFlang`` `LLVM Flang Fortran Compiler`_
  21. ``Fujitsu`` Fujitsu HPC compiler (Trad mode)
  22. ``FujitsuClang`` Fujitsu HPC compiler (Clang mode)
  23. ``G95`` `G95 Fortran`_
  24. ``GNU`` `GNU Compiler Collection`_
  25. ``GHS`` `Green Hills Software`_
  26. ``HP`` Hewlett-Packard Compiler
  27. ``IAR`` IAR Systems
  28. ``Intel`` Intel Compiler
  29. ``IntelLLVM`` Intel LLVM-Based Compiler
  30. ``LCC`` MCST Elbrus C/C++/Fortran Compiler
  31. ``MSVC`` `Microsoft Visual Studio`_
  32. ``NVHPC`` `NVIDIA HPC Compiler`_
  33. ``NVIDIA`` `NVIDIA CUDA Compiler`_
  34. ``OpenWatcom`` `Open Watcom`_
  35. ``PGI`` The Portland Group
  36. ``PathScale`` PathScale
  37. ``SDCC`` `Small Device C Compiler`_
  38. ``SunPro`` Oracle Solaris Studio
  39. ``TI`` Texas Instruments
  40. ``TinyCC`` `Tiny C Compiler`_
  41. ``XL``, ``VisualAge``, ``zOS`` IBM XL
  42. ``XLClang`` IBM Clang-based XL
  43. ``IBMClang`` IBM LLVM-based Compiler
  44. =============================== ===============================================
  45. This variable is not guaranteed to be defined for all compilers or
  46. languages.
  47. .. _Absoft Fortran: https://www.absoft.com
  48. .. _LLVM Clang: https://clang.llvm.org
  49. .. _Embarcadero: https://www.embarcadero.com
  50. .. _Classic Flang Fortran Compiler: https://github.com/flang-compiler/flang
  51. .. _LLVM Flang Fortran Compiler: https://github.com/llvm/llvm-project/tree/main/flang
  52. .. _G95 Fortran: http://g95.sourceforge.net
  53. .. _GNU Compiler Collection: https://gcc.gnu.org
  54. .. _Green Hills Software: https://www.ghs.com/products/compiler.html
  55. .. _Microsoft Visual Studio: https://visualstudio.microsoft.com
  56. .. _NVIDIA HPC Compiler: https://developer.nvidia.com/hpc-compilers
  57. .. _NVIDIA CUDA Compiler: https://developer.nvidia.com/cuda-llvm-compiler
  58. .. _Open Watcom: https://open-watcom.github.io
  59. .. _Small Device C Compiler: http://sdcc.sourceforge.net
  60. .. _Tiny C Compiler: https://bellard.org/tcc