mirror of
https://github.com/reactos/reactos.git
synced 2024-12-05 01:13:31 +08:00
[CMAKE] msvc.cmake: Add arm64 CMAKE_ASM_MASM_COMPILER option support
CORE-17518
This commit is contained in:
parent
e4feaa1a69
commit
51e2ab52af
@ -208,7 +208,7 @@ endif()
|
||||
|
||||
# We don't put <INCLUDES> <DEFINES> <FLAGS> because this is handled in add_asm_files macro
|
||||
if (NOT MSVC_IDE)
|
||||
if(ARCH STREQUAL "arm")
|
||||
if(ARCH STREQUAL "arm" OR ARCH STREQUAL "arm64")
|
||||
set(CMAKE_ASM_MASM_COMPILE_OBJECT "<CMAKE_ASM_MASM_COMPILER> -nologo -o <OBJECT> <SOURCE>")
|
||||
else()
|
||||
set(CMAKE_ASM_MASM_COMPILE_OBJECT "<CMAKE_ASM_MASM_COMPILER> /nologo /Cp /Fo <OBJECT> /c /Ta <SOURCE>")
|
||||
@ -324,7 +324,7 @@ function(generate_import_lib _libname _dllname _spec_file)
|
||||
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_spec_file} native-spec2def)
|
||||
|
||||
# Compile the generated asm stub file
|
||||
if(ARCH STREQUAL "arm")
|
||||
if(ARCH STREQUAL "arm" OR ARCH STREQUAL "arm64")
|
||||
set(_asm_stub_command ${CMAKE_ASM_MASM_COMPILER} -nologo -o ${_asm_stubs_file}.obj ${_asm_stubs_file})
|
||||
else()
|
||||
set(_asm_stub_command ${CMAKE_ASM_MASM_COMPILER} /nologo /Cp /Fo${_asm_stubs_file}.obj /c /Ta ${_asm_stubs_file})
|
||||
|
Loading…
Reference in New Issue
Block a user