Back to Cmake

CMAKE_<LANG>_COMPILER_ID

Help/variable/CMAKE_LANG_COMPILER_ID.rst

4.3.24.1 KB
Original Source

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 CrayClang Cray Clang-based Compiler Diab Wind River Systems Diab 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 Classic Compiler IntelLLVM Intel LLVM-Based Compiler_ LCC MCST Elbrus C/C++/Fortran Compiler LFortran LFortran Fortran Compiler MSVC Microsoft Visual Studio_ NVHPC NVIDIA HPC Compiler_ NVIDIA NVIDIA CUDA Compiler_ OrangeC OrangeC Compiler_ OpenWatcom Open Watcom_ PGI The Portland Group PathScale PathScale QCC QNX C/C++ compiler Renesas Renesas Compiler_ SCO SCO OpenServer/UnixWare C/C++ Compiler SDCC Small Device C Compiler_ SunPro Oracle Developer Studio Tasking Tasking Compiler Toolsets_ TI Texas Instruments TIClang Texas Instruments Clang-based Compilers_ 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.

.. _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: https://g95.sourceforge.net .. _GNU Compiler Collection: https://gcc.gnu.org .. _Green Hills Software: https://www.ghs.com/products/compiler.html .. _Intel LLVM-Based Compiler: https://www.intel.com/content/www/us/en/developer/tools/oneapi/overview.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 .. _OrangeC Compiler: https://github.com/LADSoft/OrangeC .. _Renesas Compiler: https://www.renesas.com .. _Small Device C Compiler: https://sdcc.sourceforge.net .. _Tiny C Compiler: https://bellard.org/tcc .. _Tasking Compiler Toolsets: https://www.tasking.com .. _Texas Instruments Clang-based Compilers: https://www.ti.com/tool/download/ARM-CGT-CLANG .. _Wind River Systems Diab Compiler: https://www.windriver.com/resource/wind-river-diab-compiler-product-overview