diff options
author | Johan Stridkvist <battletwixx@gmail.com> | 2019-05-13 13:05:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-05-14 18:59:55 (GMT) |
commit | 7b0abaac318b080d9d9044a2665541b840087c89 (patch) | |
tree | 622d5a7af0c1e75647d8846524d0fc93ed34c1b3 /Modules/Compiler/ARMClang-ASM.cmake | |
parent | a8f1527ba46b31c5583999391c05421eb86f4973 (diff) | |
download | CMake-7b0abaac318b080d9d9044a2665541b840087c89.zip CMake-7b0abaac318b080d9d9044a2665541b840087c89.tar.gz CMake-7b0abaac318b080d9d9044a2665541b840087c89.tar.bz2 |
ARMClang: Add support for Clang-based ARM compiler
Fixes: #18215
Diffstat (limited to 'Modules/Compiler/ARMClang-ASM.cmake')
-rw-r--r-- | Modules/Compiler/ARMClang-ASM.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Modules/Compiler/ARMClang-ASM.cmake b/Modules/Compiler/ARMClang-ASM.cmake new file mode 100644 index 0000000..ceff3e8 --- /dev/null +++ b/Modules/Compiler/ARMClang-ASM.cmake @@ -0,0 +1,9 @@ +include(Compiler/ARMClang) + +set(CMAKE_ASM_OUTPUT_EXTENSION ".o") +set(CMAKE_ASM_OUTPUT_EXTENSION_REPLACE 1) + +set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> <INCLUDES> <FLAGS> -c -o <OBJECT> <SOURCE>") +set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS S;s;asm;msa) + +__compiler_armclang(ASM) |