diff options
author | Alex Neundorf <neundorf@kde.org> | 2013-04-10 20:41:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-04-15 13:13:10 (GMT) |
commit | d33f40638dcc34a8c15b6605325446c777afd249 (patch) | |
tree | d4664414778472cabb03b96e2e108c18a79a000e /Modules/CMakeDetermineASMCompiler.cmake | |
parent | 22fb73a0d6e27f0ecaf4e10705de204742427b31 (diff) | |
download | CMake-d33f40638dcc34a8c15b6605325446c777afd249.zip CMake-d33f40638dcc34a8c15b6605325446c777afd249.tar.gz CMake-d33f40638dcc34a8c15b6605325446c777afd249.tar.bz2 |
Add regexps for the IAR toolchain to the vendor list.
The IAR compilers produce object files where the plain strings at least
sometimes can't be found, see:
http://www.cmake.org/Bug/view.php?id=10176#c19598
Alex
Diffstat (limited to 'Modules/CMakeDetermineASMCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineASMCompiler.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineASMCompiler.cmake b/Modules/CMakeDetermineASMCompiler.cmake index 9999f62..3643b17 100644 --- a/Modules/CMakeDetermineASMCompiler.cmake +++ b/Modules/CMakeDetermineASMCompiler.cmake @@ -103,6 +103,10 @@ if(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER_ID) set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_TI "-h") set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_TI "Texas Instruments") + list(APPEND CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDORS GNU IAR) + set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_IAR ) + set(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_IAR "IAR Assembler") + include(CMakeDetermineCompilerId) CMAKE_DETERMINE_COMPILER_ID_VENDOR(ASM${ASM_DIALECT}) |