diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2010-11-16 22:07:47 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2010-11-16 22:07:47 +0000 |
commit | 975176e5c6663f79ef25d86c330081f6f186af54 (patch) | |
tree | d09cd0a21047740894441660372f8371c9a4256c /lib/Target | |
parent | e8ff69fcb5021ba8909e44ef7f89e227fa903b3b (diff) | |
download | external_llvm-975176e5c6663f79ef25d86c330081f6f186af54.zip external_llvm-975176e5c6663f79ef25d86c330081f6f186af54.tar.gz external_llvm-975176e5c6663f79ef25d86c330081f6f186af54.tar.bz2 |
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
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/X86/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/CMakeLists.txt b/lib/Target/X86/CMakeLists.txt index f5f9cfa..5bcbf80 100644 --- a/lib/Target/X86/CMakeLists.txt +++ b/lib/Target/X86/CMakeLists.txt @@ -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}) |