mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-22 16:07:49 +08:00
ADSP: Add support for assembler
In commite9eabb0dcd
(ADSP: Configure compiler in compiler module, 2022-03-24, v3.24.0-rc1~331^2~1) we added compiler information modules for the ADSP C and C++ compilers. Add one for the assembler too. We already identify the ADSP assembler since commitf83330ed6c
(ASM: ADSP assembler identification, 2018-01-30, v3.11.0-rc1~35^2).
This commit is contained in:

committed by
Brad King

parent
bf5185ead7
commit
0e828b92f1
6
Modules/Compiler/ADSP-ASM.cmake
Normal file
6
Modules/Compiler/ADSP-ASM.cmake
Normal file
@@ -0,0 +1,6 @@
|
||||
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>")
|
Reference in New Issue
Block a user