diff options
author | Nico Mueller <nicomueller1991@googlemail.com> | 2019-09-16 08:45:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-09-16 15:07:04 (GMT) |
commit | bd5006e8134a3ea5d949f9eedf139126af357820 (patch) | |
tree | 4e2f069c2df2f4c7c9d15fb4e4e05ac39312c2c7 /Modules/Compiler/IAR-CXX.cmake | |
parent | bfa2eaa617de778ecfb2a0678c9898605822260d (diff) | |
download | CMake-bd5006e8134a3ea5d949f9eedf139126af357820.zip CMake-bd5006e8134a3ea5d949f9eedf139126af357820.tar.gz CMake-bd5006e8134a3ea5d949f9eedf139126af357820.tar.bz2 |
IAR: Add v850 support
Add compiler identification for V850.
Issue: #17264
Diffstat (limited to 'Modules/Compiler/IAR-CXX.cmake')
-rw-r--r-- | Modules/Compiler/IAR-CXX.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/Compiler/IAR-CXX.cmake b/Modules/Compiler/IAR-CXX.cmake index e8f1142..549d242 100644 --- a/Modules/Compiler/IAR-CXX.cmake +++ b/Modules/Compiler/IAR-CXX.cmake @@ -68,6 +68,10 @@ elseif("${CMAKE_CXX_COMPILER_ARCHITECTURE_ID}" STREQUAL "MSP430") __compiler_check_default_language_standard(CXX 5.10 98) set(CMAKE_CXX_OUTPUT_EXTENSION ".r43") +elseif("${CMAKE_CXX_COMPILER_ARCHITECTURE_ID}" STREQUAL "V850") + __compiler_iar_xlink(CXX) + __compiler_check_default_language_standard(CXX 1.10 98) + set(CMAKE_C_OUTPUT_EXTENSION ".r85") else() message(FATAL_ERROR "CMAKE_CXX_COMPILER_ARCHITECTURE_ID not detected. This should be automatic." ) endif() |