summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorJoakim Lönnberg <joakim.lonnberg@iar.com>2023-05-08 13:35:53 (GMT)
committerJoakim Lönnberg <joakim.lonnberg@iar.com>2023-05-08 13:35:53 (GMT)
commit7fec8f993b1a1b1bb5bc7d8e7fe2e9c5e95e1f27 (patch)
tree10d20a4b5e7f97b4e80974dcbe4ef109fe002a71 /Modules/Compiler
parentb2d689bc5abf027e6650cb8d68c9859249a0ea6f (diff)
downloadCMake-7fec8f993b1a1b1bb5bc7d8e7fe2e9c5e95e1f27.zip
CMake-7fec8f993b1a1b1bb5bc7d8e7fe2e9c5e95e1f27.tar.gz
CMake-7fec8f993b1a1b1bb5bc7d8e7fe2e9c5e95e1f27.tar.bz2
IAR: Replace extension for compiler and assembler
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/IAR.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/IAR.cmake b/Modules/Compiler/IAR.cmake
index 32a7b3f5..8dadb76 100644
--- a/Modules/Compiler/IAR.cmake
+++ b/Modules/Compiler/IAR.cmake
@@ -23,6 +23,7 @@ macro(__compiler_iar_common lang)
string(APPEND CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT " -Oh -r -DNDEBUG")
endif()
+ set(CMAKE_${lang}_OUTPUT_EXTENSION_REPLACE 1)
set(CMAKE_${lang}_RESPONSE_FILE_FLAG "-f ")
set(CMAKE_${lang}_RESPONSE_FILE_LINK_FLAG "-f ")