CMake/Modules/Compiler/GNU-ASM.cmake

9 lines
274 B
CMake

# This file is loaded when gcc/g++ is used for assembler files (the "ASM" cmake language)
include(Compiler/GNU)
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;asm)
set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_C_COMPILER> <DEFINES> <FLAGS> -o <OBJECT> -c <SOURCE>")
__compiler_gnu(ASM)