Using CMake with IAR Embedded Workbench and IAR Build Tools

Technical Note 190701


8051, Arm, AVR, MSP430, RH850, RISC-V, RL78, RX, STM8, V850




2021-10-25 13:11


A prerequisite is basic understanding of the CMake concept, as well as how to use the IAR build tools from command line.

CMake is maintained and supported by Kitware and developed in collaboration with a community of contributors. Any issues found shall be reported to the official Kitware GitLab CMake repository.


CMake is an open-source, cross-platform family of tools designed to build, test, and package software. It controls the software compilation process using platform and compiler independent configuration files.


Tutorial - Building and testing with the IAR Systems tools in CMake

This tutorial gives basic knowledge of configuring CMake for using the IAR build-chain to build applications and gives suggestions on how to debug an image built with CMake. Further, the tutorial also shows how to use CTest, an extension of CMake, to perform automated tests.


Use the tutorial to learn how to combine CMake with the IAR build-chain.
In the future, the CMake team might add support for other IAR Embedded Workbench products.

All product names are trademarks or registered trademarks of their respective owners.

Det här innehållet finns tyvärr inte på svenska.

Vår webbplats finns främst på vårt koncernspråk engelska, förutom det innehåll för investerare som vi är lagstadgade att kommunicera på svenska. Vi rekommenderar att du besöker vår globala webbplats på engelska för att få en bättre upplevelse.

Vi stöder inte längre Internet Explorer. För att få bästa möjliga upplevelse av rekommenderar vi att du uppgraderar till en modern webbläsare som Chrome eller Edge.