CMake/Modules/Compiler/Tasking-ASM.cmake
Alaa Mahran fc163f9e43 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
2025-01-17 14:44:01 -05:00

7 lines
135 B
CMake

include(Compiler/Tasking)
__compiler_tasking(ASM)
set(CMAKE_ASM_OUTPUT_EXTENSION ".o")
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm;src)