summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-05-23 12:28:35 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-05-23 12:28:47 (GMT)
commit1f8bcd0a7cbb5ebb1e9e29aa63f1768b2a7eaa61 (patch)
tree5522f586fcebedf4239a84ec8853b33b66881262
parent44133f86b79a3f002eadabb6626cd3159573a91d (diff)
parent23c91b55d65ae21d5f91cb3ae94c7055d0d20dcb (diff)
downloadCMake-1f8bcd0a7cbb5ebb1e9e29aa63f1768b2a7eaa61.zip
CMake-1f8bcd0a7cbb5ebb1e9e29aa63f1768b2a7eaa61.tar.gz
CMake-1f8bcd0a7cbb5ebb1e9e29aa63f1768b2a7eaa61.tar.bz2
Merge topic 'adsp-asm-support'
23c91b55d6 ADSP: Treat .s files as asm sources 43b5e88fe6 ADSP: Preserve ASM output ext and flags as we do for C and CXX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9530
-rw-r--r--Modules/Compiler/ADSP-ASM.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/Compiler/ADSP-ASM.cmake b/Modules/Compiler/ADSP-ASM.cmake
index 9ef5142..67e8d96 100644
--- a/Modules/Compiler/ADSP-ASM.cmake
+++ b/Modules/Compiler/ADSP-ASM.cmake
@@ -1,6 +1,4 @@
include(Compiler/ADSP)
__compiler_adsp(ASM)
-set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm)
-set(CMAKE_ASM_OUTPUT_EXTENSION ".o" )
-set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -o <OBJECT> <SOURCE>")
+set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS S;s;asm)