summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/IAR-C.cmake
Commit message (Collapse)AuthorAgeFilesLines
* cmStandardLevelResolver: Avoid unnecessary flags, fix unset level logicRaul Tambre2021-09-291-0/+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-20/+22
|
* 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/+5
| | | | Issue: #17264
* IAR: Add v850 supportNico Mueller2019-09-161-0/+5
| | | | | | Add compiler identification for V850. Issue: #17264
* Merge topic 'elseif'Brad King2019-07-101-1/+1
|\ | | | | | | | | | | | | | | | | f4ed56ab63 Fix elseif() in place of else() Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Acked-by: Rolf Eike Beer <eike@sf-mail.de> Merge-request: !3515
| * Fix elseif() in place of else()Artalus2019-07-031-1/+1
| |
* | 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-9/+12
|
* 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-2/+2
| | | | Use the correct version macros and version numbers.
* IAR: Generalize and add support for IAR RX compilerStefan Andersson2019-04-121-33/+25
| | | | Moved common ASM setup to the common macros and changed version check.
* IAR: Update compiler modules to support AVR systemsEthan Slattery2019-01-151-0/+13
| | | | 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/+3
| | | | | | | 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-20/+23
| | | | | | | | | | | | | | | 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-0/+3
| | | | | | 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