File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44set (CMAKE_SYSTEM_NAME Generic)
55
66# Set CMake to use the IAR C/C++ Compiler from the IAR Embedded Workbench for Arm
7- # Update if using a different supported target or operating system
8- set (CMAKE_ASM_COMPILER "C:/Program Files/IAR Systems/Embedded Workbench 9.3 /arm/bin/iasmarm.exe" )
9- set (CMAKE_C_COMPILER "C:/Program Files/IAR Systems/Embedded Workbench 9.3 /arm/bin/iccarm.exe" )
10- set (CMAKE_CXX_COMPILER "C:/Program Files/IAR Systems/Embedded Workbench 9.3 /arm/bin/iccarm.exe" )
7+ # Update the paths if using any different supported target/version
8+ set (CMAKE_ASM_COMPILER "C:/iar/ewarm-9.60.4 /arm/bin/iasmarm.exe" )
9+ set (CMAKE_C_COMPILER "C:/iar/ewarm-9.60.4 /arm/bin/iccarm.exe" )
10+ set (CMAKE_CXX_COMPILER "C:/iar/ewarm-9.60.4 /arm/bin/iccarm.exe" )
1111
1212# Avoids running the linker during try_compile()
1313set (CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
@@ -21,6 +21,6 @@ if(CMAKE_GENERATOR MATCHES "^Ninja.*$")
2121 find_program (CMAKE_MAKE_PROGRAM
2222 NAMES ninja.exe
2323 PATHS $ENV{PATH}
24- "C:/Program Files/IAR Systems/Embedded Workbench 9.3 /common/bin"
24+ "C:/iar/ewarm-9.60.4 /common/bin"
2525 REQUIRED )
2626endif ()
You can’t perform that action at this time.
0 commit comments