mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
-- Detect GHS compiler and version Detect ARCHITECTURE_ID for PPC / ARM / 86 targets Detect PLATFORM_ID for Integrity and Integrity178 platforms Using defines specified in the documents for the compilers: 201416 PPC / 201754 ARM / 201714 86 -- Fallback C/CXX compiler ID to GHS if not otherwise detected and using GHS MULTI generator Works around issue with some GHS compilers not setting __ghs__ compiler define -- Tweak Compiler ID checking so major id of 002017 is not replaced with 217 -- Prefer try_compile() library targets when testing for working GHS compilers -- Avoid CMake errors if reading past end of file for checking if file is PE executable
41 lines
1.3 KiB
ReStructuredText
41 lines
1.3 KiB
ReStructuredText
CMAKE_<LANG>_COMPILER_ID
|
|
------------------------
|
|
|
|
Compiler identification string.
|
|
|
|
A short string unique to the compiler vendor. Possible values
|
|
include:
|
|
|
|
::
|
|
|
|
Absoft = Absoft Fortran (absoft.com)
|
|
ADSP = Analog VisualDSP++ (analog.com)
|
|
AppleClang = Apple Clang (apple.com)
|
|
ARMCC = ARM Compiler (arm.com)
|
|
Bruce = Bruce C Compiler
|
|
CCur = Concurrent Fortran (ccur.com)
|
|
Clang = LLVM Clang (clang.llvm.org)
|
|
Cray = Cray Compiler (cray.com)
|
|
Embarcadero, Borland = Embarcadero (embarcadero.com)
|
|
G95 = G95 Fortran (g95.org)
|
|
GNU = GNU Compiler Collection (gcc.gnu.org)
|
|
GHS = Green Hills Software (www.ghs.com)
|
|
HP = Hewlett-Packard Compiler (hp.com)
|
|
IAR = IAR Systems (iar.com)
|
|
Intel = Intel Compiler (intel.com)
|
|
MIPSpro = SGI MIPSpro (sgi.com)
|
|
MSVC = Microsoft Visual Studio (microsoft.com)
|
|
NVIDIA = NVIDIA CUDA Compiler (nvidia.com)
|
|
OpenWatcom = Open Watcom (openwatcom.org)
|
|
PGI = The Portland Group (pgroup.com)
|
|
Flang = Flang Fortran Compiler
|
|
PathScale = PathScale (pathscale.com)
|
|
SDCC = Small Device C Compiler (sdcc.sourceforge.net)
|
|
SunPro = Oracle Solaris Studio (oracle.com)
|
|
TI = Texas Instruments (ti.com)
|
|
TinyCC = Tiny C Compiler (tinycc.org)
|
|
XL, VisualAge, zOS = IBM XL (ibm.com)
|
|
|
|
This variable is not guaranteed to be defined for all compilers or
|
|
languages.
|