Tasking: Add support for ASM through the cctc compiler driver

The Tasking ASM information module was added by commit 94df5b6ef1
(Tasking: Add support for several compiler toolsets, 2022-07-20,
v3.25.0-rc1~133^2).  However, it appears to have been left from pattern
following and did not actually work with the Tasking assembler.
Update it to work when running the assembler through the compiler
driver `cctc`, which supports extensions `.asm` and `.src`.

Fixes: #26425
This commit is contained in:
Alaa Mahran
2025-01-11 17:04:54 +01:00
committed by Brad King
parent 942f0d119b
commit fc163f9e43

View File

@@ -1,7 +1,6 @@
include(Compiler/Tasking)
__compiler_tasking(ASM)
set(CMAKE_ASM_OUTPUT_EXTENSION ".o")
set(CMAKE_ASM_OUTPUT_EXTENSION_REPLACE 1)
set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> <INCLUDES> <FLAGS> -o <OBJECT> <SOURCE>")
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS S;s;asm;msa)
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm;src)