summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/IAR.cmake
diff options
context:
space:
mode:
authorFelipe Torrezan <felipe.torrezan@iar.com>2021-09-23 18:11:16 (GMT)
committerFelipe Torrezan <felipe.torrezan@iar.com>2021-09-23 20:09:57 (GMT)
commita9073db736f6388f10f914c7361cc374f7522073 (patch)
tree3a66d906946d81353d9df0b1a92a38abf2099190 /Modules/Compiler/IAR.cmake
parentc5b91304edaddd82992140e5b36533509c95b20f (diff)
downloadCMake-a9073db736f6388f10f914c7361cc374f7522073.zip
CMake-a9073db736f6388f10f914c7361cc374f7522073.tar.gz
CMake-a9073db736f6388f10f914c7361cc374f7522073.tar.bz2
IAR: update language specification detection
Diffstat (limited to 'Modules/Compiler/IAR.cmake')
-rw-r--r--Modules/Compiler/IAR.cmake40
1 files changed, 4 insertions, 36 deletions
diff --git a/Modules/Compiler/IAR.cmake b/Modules/Compiler/IAR.cmake
index 9382c3f..53456f5 100644
--- a/Modules/Compiler/IAR.cmake
+++ b/Modules/Compiler/IAR.cmake
@@ -1,43 +1,11 @@
-# This file is processed when the IAR compiler is used for a C or C++ file
-# Documentation can be downloaded here: http://www.iar.com/website1/1.0.1.0/675/1/
-# The initial feature request is here: https://gitlab.kitware.com/cmake/cmake/-/issues/10176
-# It also contains additional links and information.
-# See USER GUIDES -> C/C++ Development Guide and ReleaseNotes for EWARM:
-# version 6.30.8: http://supp.iar.com/FilesPublic/UPDINFO/006607/arm/doc/infocenter/index.ENU.html
-# version 7.60.1: http://supp.iar.com/FilesPublic/UPDINFO/011006/arm/doc/infocenter/index.ENU.html
-# version 8.10.1: http://netstorage.iar.com/SuppDB/Public/UPDINFO/011854/arm/doc/infocenter/index.ENU.html
-
-# The IAR internal compiler platform generations (Predefined symbol __IAR_SYSTEMS_ICC__):
-# 9 and higher means C11 and C++14 as language default (EWARM v8.x, EWRX v4.x and higher)
-# 8 means C99 and C++03 as language default (EWARM v6.x, v7.x. EWRX v2.x, 3.x)
-# 7 and lower means C89 and EC++ as language default. (EWARM v5.x and lower)
-
-# C/C++ Standard versions
-#
-# IAR typically only supports one C and C++ Standard version,
-# the exception is C89 which is always supported and can be selected
-# if its not the default
+# This file is processed when the IAR C/C++ Compiler is used
#
-# C++ is trickier, there were historically 3 switches,
-# and some IAR versions support multiple of those.
-# they are --eec++, --ec++ and --c++ and where used to
-# enable various language features like exceptions
+# CPU <arch> supported in CMake: 8051, Arm, AVR, MSP430, RH850, RISC-V, RL78, RX and V850
#
-# recent versions only have --c++ for full support
-# but can choose to disable features with further arguments
+# The compiler user documentation is architecture-dependent
+# and it can found with the product installation under <arch>/doc/{EW,BX}<arch>_DevelopmentGuide.ENU.pdf
#
-# C/C++ Standard compliance
#
-# IAR has 3 modes: default, strict and extended
-# the extended mode is needed for popular libraries like CMSIS
-#
-# "Silent" Operation
-#
-# this really is different to most programs I know.
-# nothing meaningful from the operation is lost, just some redundant
-# code and data size printouts (that can be inspected with common tools).
-
-# This module is shared by multiple languages; use include blocker.
include_guard()
macro(__compiler_iar_ilink lang)