summaryrefslogtreecommitdiff
path: root/share/cmake-3.10/Modules/Compiler/IAR-ASM.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.10/Modules/Compiler/IAR-ASM.cmake')
-rw-r--r--share/cmake-3.10/Modules/Compiler/IAR-ASM.cmake21
1 files changed, 0 insertions, 21 deletions
diff --git a/share/cmake-3.10/Modules/Compiler/IAR-ASM.cmake b/share/cmake-3.10/Modules/Compiler/IAR-ASM.cmake
deleted file mode 100644
index 651bc3a..0000000
--- a/share/cmake-3.10/Modules/Compiler/IAR-ASM.cmake
+++ /dev/null
@@ -1,21 +0,0 @@
-# This file is processed when the IAR compiler is used for an assembler file
-
-include(Compiler/IAR)
-
-if("${CMAKE_ASM${ASM_DIALECT}_COMPILER_ARCHITECTURE_ID}" STREQUAL "ARM")
-set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> -S <SOURCE> <DEFINES> <INCLUDES> <FLAGS> -o <OBJECT>")
- __compiler_iar_ARM(ASM)
- set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;asm;msa)
-
- string(APPEND CMAKE_ASM_FLAGS_INIT " ")
- string(APPEND CMAKE_ASM_FLAGS_DEBUG_INIT " -r")
- string(APPEND CMAKE_ASM_FLAGS_MINSIZEREL_INIT " -DNDEBUG")
- string(APPEND CMAKE_ASM_FLAGS_RELEASE_INIT " -DNDEBUG")
- string(APPEND CMAKE_ASM_FLAGS_RELWITHDEBINFO_INIT " -r -DNDEBUG")
-
-elseif("${CMAKE_ASM${ASM_DIALECT}_COMPILER_ARCHITECTURE_ID}" STREQUAL "AVR")
- set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> -S <SOURCE> <DEFINES> <INCLUDES> <FLAGS> -o <OBJECT>")
- __compiler_iar_AVR(ASM)
- set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s90;asm;msa)
-
-endif()