Using CMake with IAR Embedded Workbench and IAR Build Tools

Technical Note 190701


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




10/25/2021 1:11 PM


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.

We do no longer support Internet Explorer. To get the best experience of, we recommend upgrading to a modern browser such as Chrome or Edge.