[llvm-commits] [llvm] r119394 - /llvm/trunk/lib/Target/X86/CMakeLists.txt

Oscar Fuentes ofv at wanadoo.es
Tue Nov 16 14:07:47 PST 2010


Author: ofv
Date: Tue Nov 16 16:07:47 2010
New Revision: 119394

URL: http://llvm.org/viewvc/llvm-project?rev=119394&view=rev
Log:
Fix assembling X86CompilationCallback_Win64.asm on VS 10.

Patch by Louis Zhuang!

Modified:
    llvm/trunk/lib/Target/X86/CMakeLists.txt

Modified: llvm/trunk/lib/Target/X86/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/CMakeLists.txt?rev=119394&r1=119393&r2=119394&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/X86/CMakeLists.txt Tue Nov 16 16:07:47 2010
@@ -43,10 +43,10 @@
   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})





More information about the llvm-commits mailing list