forked from OSchip/llvm-project
Fix assembling X86CompilationCallback_Win64.asm on VS 10.
Patch by Louis Zhuang! llvm-svn: 119394
This commit is contained in:
parent
fc4feca7d8
commit
4e61b09a89
|
@ -43,10 +43,10 @@ if( CMAKE_CL_64 )
|
|||
enable_language(ASM_MASM)
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj
|
||||
MAIN_DEPENDENCY X86CompilationCallback_Win64.asm
|
||||
COMMAND ${CMAKE_ASM_MASM_COMPILER} /Fo ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj /c ${CMAKE_CURRENT_SOURCE_DIR}/X86CompilationCallback_Win64.asm
|
||||
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/X86CompilationCallback_Win64.asm
|
||||
)
|
||||
set(sources ${sources} ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj)
|
||||
set(sources ${sources} X86CompilationCallback_Win64.asm)
|
||||
endif()
|
||||
|
||||
add_llvm_target(X86CodeGen ${sources})
|
||||
|
|
Loading…
Reference in New Issue