mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 04:40:56 -06:00
Previously we used separate placeholders for builtin linker flags: * CMAKE_<LANG>_LINK_FLAGS for EXECUTABLEs * CMAKE_SHARED_LIBRARY_CREATE_<LANG>_FLAGS for SHARED libraries * CMAKE_SHARED_MODULE_CREATE_<LANG>_FLAGS for MODULE libraries These are now always replaced by the empty string, so drop them from our rule variables.
14 lines
499 B
CMake
14 lines
499 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;S;asm)
|
|
|
|
__compiler_gnu(ASM)
|
|
|
|
if(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_MATCH STREQUAL "GNU assembler")
|
|
set(CMAKE_DEPFILE_FLAGS_ASM${ASM_DIALECT} "--MD <DEP_FILE>")
|
|
set(CMAKE_ASM${ASM_DIALECT}_LINK_EXECUTABLE
|
|
"<CMAKE_LINKER> <FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>")
|
|
set(CMAKE_ASM_DEFINE_FLAG "--defsym ")
|
|
endif()
|