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/CMakeDetermineCCompiler.cmake | |
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/CMakeDetermineCCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineCCompiler.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineCCompiler.cmake b/Modules/CMakeDetermineCCompiler.cmake index b3c7c6c..9e68b80 100644 --- a/Modules/CMakeDetermineCCompiler.cmake +++ b/Modules/CMakeDetermineCCompiler.cmake @@ -97,6 +97,7 @@ ENDIF (NOT _CMAKE_TOOLCHAIN_PREFIX) # if we have a MS cross compiler, it usually has a suffix, like # e.g. clarm.exe or clmips.exe. Use this suffix for the CXX compiler too. +# the same is true e.g. for the IAR cross compiler, which is "icc<suffix>" IF (NOT _CMAKE_TOOLCHAIN_SUFFIX) GET_FILENAME_COMPONENT(COMPILER_BASENAME "${CMAKE_C_COMPILER}" NAME) IF (COMPILER_BASENAME MATCHES "^cl(.+)\\.exe$") |