-
Notifications
You must be signed in to change notification settings - Fork 19
Invoking IAR binary utilities
Felipe Torrezan edited this page Nov 26, 2024
·
12 revisions
Starting from CMake v3.31.0, it is possible to invoke the IAR binary utilities from within a CMake project.
Please notice that these references expects their respective tools being available in the installed toolchain.
| Variable | Description |
|---|---|
CMAKE_IAR_ELFDUMP |
IAR ELF Dumper |
CMAKE_IAR_ELFTOOL |
IAR ELF Tool |
CMAKE_IAR_EXE2OBJ |
IAR ELF Exe to Object Tool |
CMAKE_IAR_OBJMANIP |
IAR Object File Manipulator |
CMAKE_IAR_SYMEXPORT |
IAR Absolute Symbol Exporter |
add_custom_command(TARGET myTarget POST_BUILD COMMAND ${CMAKE_IAR_ELFTOOL} --silent --ihex $<TARGET_FILE:myTarget> myTarget.hex)This is the cmake-tutorial wiki. Back to Wiki Home
- IAR Compiler options in a CMake project
- IAR ILINK options in a CMake project
- Language-specific target options
- Selecting build types
- Using Ninja Multi-Config
- Filing a build log
- Multi-file compilation
- Invoking IAR binary utilities
- Use the IAR ELF Tool to convert executable targets to their binary formats
- Using IAR Build Tools with CMake Presets