summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/IAR-CXX.cmake
diff options
context:
space:
mode:
authorFelipe Torrezan <felipe.torrezan@iar.com>2023-05-16 18:08:01 (GMT)
committerFelipe Torrezan <felipe.torrezan@iar.com>2023-05-16 18:08:01 (GMT)
commit7cd982faf4b7ba9dba9b8ca33fd0f0b83207cd3b (patch)
tree877ce9e258d81b997e11a5b1718042f442cc9514 /Modules/Compiler/IAR-CXX.cmake
parentee0a15775530d6b68a65efd04635867c7008b890 (diff)
downloadCMake-7cd982faf4b7ba9dba9b8ca33fd0f0b83207cd3b.zip
CMake-7cd982faf4b7ba9dba9b8ca33fd0f0b83207cd3b.tar.gz
CMake-7cd982faf4b7ba9dba9b8ca33fd0f0b83207cd3b.tar.bz2
IAR: Added support for IAR C/C++ Compiler for Microchip AVR 8.10+
- Added C17 support - Added C++17 support - Changed: IAR UBROF Linker (XLINK) suffixed with target architecture (xlinkavr)
Diffstat (limited to 'Modules/Compiler/IAR-CXX.cmake')
-rw-r--r--Modules/Compiler/IAR-CXX.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/IAR-CXX.cmake b/Modules/Compiler/IAR-CXX.cmake
index cea5e7e..b598e36 100644
--- a/Modules/Compiler/IAR-CXX.cmake
+++ b/Modules/Compiler/IAR-CXX.cmake
@@ -68,7 +68,7 @@ elseif("${CMAKE_CXX_COMPILER_ARCHITECTURE_ID}" STREQUAL "RISCV")
elseif("${CMAKE_CXX_COMPILER_ARCHITECTURE_ID}" STREQUAL "AVR")
__compiler_iar_xlink(CXX)
- __compiler_check_default_language_standard(CXX 7.10 98)
+ __compiler_check_default_language_standard(CXX 7.10 98 8.10 17)
set(CMAKE_CXX_OUTPUT_EXTENSION ".r90")
elseif("${CMAKE_CXX_COMPILER_ARCHITECTURE_ID}" STREQUAL "MSP430")