CMake: Added asm file to x86_64 MSVC build.

llvm-svn: 78807
This commit is contained in:
Oscar Fuentes 2009-08-12 15:54:28 +00:00
parent a5fdfac6ca
commit bcbae01797
1 changed files with 8 additions and 1 deletions

View File

@ -13,7 +13,7 @@ tablegen(X86GenFastISel.inc -gen-fast-isel)
tablegen(X86GenCallingConv.inc -gen-callingconv)
tablegen(X86GenSubtarget.inc -gen-subtarget)
add_llvm_target(X86CodeGen
set(sources
X86CodeEmitter.cpp
X86ELFWriterInfo.cpp
X86FloatingPoint.cpp
@ -29,4 +29,11 @@ add_llvm_target(X86CodeGen
X86FastISel.cpp
)
if( CL_64 )
enable_language(ASM_MASM)
set(sources ${sources} X86CompilationCallback_Win64.asm)
endif()
add_llvm_target(X86CodeGen ${sources})
target_link_libraries (LLVMX86CodeGen LLVMSelectionDAG)