mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
GHS: Add Compiler ID detection
-- 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
This commit is contained in:
@@ -19,6 +19,7 @@ include:
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user