diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-05-24 12:33:05 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-05-24 12:33:05 (GMT) |
commit | e10e3bc86edd3b319f036a5e33a428863d0e91f8 (patch) | |
tree | 172132fed15e8444e0366222166dcf8732551c4f /Modules/CMakeCCompilerId.c | |
parent | 1835c327fffd646b829e25f44694b93bb25f06f0 (diff) | |
download | CMake-e10e3bc86edd3b319f036a5e33a428863d0e91f8.zip CMake-e10e3bc86edd3b319f036a5e33a428863d0e91f8.tar.gz CMake-e10e3bc86edd3b319f036a5e33a428863d0e91f8.tar.bz2 |
ENH: add compiler id for IAR compiler (http://www.iar.com/)
ENH: don't run endian test again if the variable is already set
Alex
Diffstat (limited to 'Modules/CMakeCCompilerId.c')
-rw-r--r-- | Modules/CMakeCCompilerId.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/CMakeCCompilerId.c b/Modules/CMakeCCompilerId.c index ae9e188..e5250f6 100644 --- a/Modules/CMakeCCompilerId.c +++ b/Modules/CMakeCCompilerId.c @@ -33,6 +33,10 @@ #elif defined(_MSC_VER) # define COMPILER_ID "MSVC" +/*IAR Systems compiler for embedded systems, beside this id not yet supported*/ +#elif defined(__IAR_SYSTEMS_ICC__) +# define COMPILER_ID "IAR" + #elif defined(_COMPILER_VERSION) # define COMPILER_ID "MIPSpro" |