You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
422 B
15 lines
422 B
# This file is processed when the IAR compiler is used for an assembler file
|
|
|
|
include(Compiler/IAR)
|
|
|
|
set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> <SOURCE> <DEFINES> <INCLUDES> <FLAGS> -o <OBJECT>")
|
|
|
|
if("${IAR_TARGET_ARCHITECTURE}" STREQUAL "ARM")
|
|
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;asm;msa)
|
|
endif()
|
|
|
|
|
|
if("${IAR_TARGET_ARCHITECTURE}" STREQUAL "AVR")
|
|
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s90;asm;msa)
|
|
endif()
|