llvm.org GIT mirror llvm / 975176e
Fix assembling X86CompilationCallback_Win64.asm on VS 10. Patch by Louis Zhuang! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119394 91177308-0d34-0410-b5e6-96231b3b80d8 Oscar Fuentes 9 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
4242 enable_language(ASM_MASM)
4343 ADD_CUSTOM_COMMAND(
4444 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj
45 MAIN_DEPENDENCY X86CompilationCallback_Win64.asm
4546 COMMAND ${CMAKE_ASM_MASM_COMPILER} /Fo ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj /c ${CMAKE_CURRENT_SOURCE_DIR}/X86CompilationCallback_Win64.asm
46 DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/X86CompilationCallback_Win64.asm
4747 )
48 set(sources ${sources} ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj)
48 set(sources ${sources} X86CompilationCallback_Win64.asm)
4949 endif()
5050
5151 add_llvm_target(X86CodeGen ${sources})