mirror of
https://github.com/reactos/CMake.git
synced 2025-02-02 01:55:03 +00:00
22fb73a0d6
The original feature request is at http://www.cmake.org/Bug/view.php?id=10176 Documentation can be found at http://www.iar.com/website1/1.0.1.0/675/1/ Alex
15 lines
411 B
CMake
15 lines
411 B
CMake
# 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> <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()
|