mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 21:00:17 -06:00
ASM_NASM: generate depfiles for other makefiles
This commit is contained in:
@@ -40,6 +40,13 @@ endif()
|
||||
|
||||
set(CMAKE_DEPFILE_FLAGS_ASM_NASM "-MD <DEP_FILE> -MT <DEP_TARGET>")
|
||||
|
||||
if((NOT DEFINED CMAKE_DEPENDS_USE_COMPILER OR CMAKE_DEPENDS_USE_COMPILER)
|
||||
AND CMAKE_GENERATOR MATCHES "Makefiles|WMake")
|
||||
# dependencies are computed by the compiler itself
|
||||
set(CMAKE_ASM_NASM_DEPFILE_FORMAT gcc)
|
||||
set(CMAKE_ASM_NASM_DEPENDS_USE_COMPILER TRUE)
|
||||
endif()
|
||||
|
||||
# Load the generic ASMInformation file:
|
||||
set(ASM_DIALECT "_NASM")
|
||||
include(CMakeASMInformation)
|
||||
|
||||
Reference in New Issue
Block a user