llvm.org GIT mirror llvm / ed36aac
CMake: fixes 64 bit Visual Studio IDE build. Fixes bug 4936. Patch by Dimitry Andric! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103727 91177308-0d34-0410-b5e6-96231b3b80d8 Oscar Fuentes 10 years ago
1 changed file(s) with 6 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3838
3939 if( CMAKE_CL_64 )
4040 enable_language(ASM_MASM)
41 set(sources ${sources} X86CompilationCallback_Win64.asm)
41 ADD_CUSTOM_COMMAND(
42 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj
43 COMMAND ${CMAKE_ASM_MASM_COMPILER} /Fo ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj /c ${CMAKE_CURRENT_SOURCE_DIR}/X86CompilationCallback_Win64.asm
44 DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/X86CompilationCallback_Win64.asm
45 )
46 set(sources ${sources} ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj)
4247 endif()
4348
4449 add_llvm_target(X86CodeGen ${sources})