2012-01-05 00:29:11 +04:00
|
|
|
# This file is processed when the IAR compiler is used for an assembler file
|
|
|
|
|
|
|
|
include(Compiler/IAR)
|
|
|
|
|
2015-07-13 17:35:04 +03:00
|
|
|
set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> <SOURCE> <DEFINES> <INCLUDES> <FLAGS> -o <OBJECT>")
|
2012-01-05 00:29:11 +04:00
|
|
|
|
|
|
|
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()
|