summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/IAR-CXX.cmake
Commit message (Collapse)AuthorAgeFilesLines
* IAR: Fix detection of modern C++ versionKenneth Soerensen2022-03-081-1/+3
| | | | | | | The change in commit cc4da8d13a (IAR/CXX: Fix compatibility with CMP0057 OLD, 2022-01-29, v3.23.0-rc1~46^2) broke the detection of C++ version because the `IN_LIST` operator cannot work directly on a list but requires a variable.
* IAR/CXX: Fix compatibility with CMP0057 OLDRaul Tambre2022-01-291-3/+6
| | | | | | | | | | Commit a9073db7 (IAR: update language specification detection, 2021-09-23) added usage of the if() IN_LIST operation and forgot to account for it not being available in CMP0057 OLD mode. Push and temporarily enable the policy. Also avoid the unnecessary temporary variable for the list. Fixes #23147.
* cmStandardLevelResolver: Avoid unnecessary flags, fix unset level logicRaul Tambre2021-09-291-1/+1
| | | | | | | | | | | | | | | | | | The changes are part of CMP0128. When the standard level is unset: * Flags are added if extension mode doesn't match the compiler's default. Previously logic only worked if LANG_EXTENSIONS was ON. Fixes #22224. * The full flag is used. Previously CMAKE_LANG_EXTENSION_COMPILE_OPTION was used. This was only supported for IAR. Otherwise: * Avoid adding flags if not necessary per the detected compiler defaults. * Fixed check for when the requested standard is older. It now matches the nearby comments. I reworded the fallback comment as its logic was a bit difficult to wrap my head around.
* IAR: update language specification detectionFelipe Torrezan2021-09-231-32/+30
|
* IAR: emit fatal message for RL78 XLINKFelipe Torrezan2021-09-211-2/+6
|
* IAR: add support for the STM8 compilerFelipe Torrezan2021-02-121-0/+4
|
* IAR: Add 8051 supportMicael Borgefeldt2019-10-111-0/+6
| | | | Issue: #17264
* IAR: Add v850 supportNico Mueller2019-09-161-0/+4
| | | | | | Add compiler identification for V850. Issue: #17264
* IAR: Add support for the RISC-V compilerStefan Andersson2019-07-081-0/+4
|
* IAR: Add architecture support for RL78, RH850 and MSP430Stefan Andersson2019-05-081-15/+19
|
* IAR: Fail early in case of IAR ARM 4.XXDaniel Schürmann2019-04-261-0/+4
| | | | This version is not yet supported because it uses xlink unsetad of ilink.
* IAR: Fix building with IAR ARM 6.XDaniel Schürmann2019-04-251-1/+2
| | | | Use the correct version macros and version numbers.
* IAR: Generalize and add support for IAR RX compilerStefan Andersson2019-04-121-45/+27
| | | | Moved common ASM setup to the common macros and changed version check.
* IAR: Update compiler modules to support AVR systemsEthan Slattery2019-01-151-0/+21
| | | | Fixes: #18557
* IAR: Abort if compiler version or target architecture is not detectedDaniel Schürmann2018-09-101-0/+6
| | | | | | | | If these are not detected then we cannot support the IAR compiler. Fail early with an explicit message instead of silently proceeding and getting strange errors. Issue: #18333
* IAR: Enable extensions by defaultNorbert Lange2017-08-031-0/+2
| | | | | | | Set the variable added by commit a2112257 (Add infrastructure to use language extensions without any standard, 2017-06-29) for IAR. This was accidentally left out of commit d8e6cd9e (IAR: Improve support for IAR ARM Compiler, 2017-06-15).
* IAR: Improve support for IAR ARM CompilerNorbert Lange2017-06-291-19/+33
| | | | | | | | | | | | | | | Make the implementation for this compiler more complete. IAR has multiple C++ modes, historically they were reduced c++ versions for embedded that gradually improved to the full standard (which can be reduced again by e.g. disabling rtti and exceptions). The new implementation picks the best available, but the c++ mode can also be overridden by defining `CMAKE_IAR_CXX_FLAG`. Add C/C++ standard flags so that all modes up to and including the last supported standard are defined. Fixes: #16826
* Added space after IAR response file flagAndreas Weis2017-05-231-1/+1
| | | | | Without the space between the flag and the filename, IAR will fail to parse the arguments correctly.
* IAR: Add support for using this compiler with the Ninja generatorJuhani Simola2016-02-031-1/+2
| | | | | | The dependency flags require recent versions of `iccarm` and `iccavr`. The multi-rule dependency generated with `--dependencies=m` does not work well with Ninja, so use `--dependencies=ns` instead.
* Factor an <INCLUDES> placeholder out of <FLAGS> in rule variablesBrad King2015-07-131-3/+3
| | | | | | | | | | | Teach the Makefile and Ninja generators to substitute for an <INCLUDES> placeholder instead of putting -I in <FLAGS>. Update our values for CMAKE_<LANG>_COMPILE_OBJECT, CMAKE_<LANG>_CREATE_ASSEMBLY_SOURCE, and CMAKE_<LANG>_CREATE_PREPROCESSED_SOURCE to place <INCLUDES> just before <FLAGS>.
* Add support files for C, C++ and ASM for the IAR toolchain.Alex Neundorf2013-04-151-0/+34
The original feature request is at http://www.cmake.org/Bug/view.php?id=10176 Documentation can be found at http://www.iar.com/website1/1.0.1.0/675/1/ Alex