mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[CMAKE] msvc.cmake: Add arm64 CMAKE_ASM_MASM_COMPILER option support
CORE-17518
This commit is contained in:
parent
e4feaa1a69
commit
51e2ab52af
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue