diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2009-08-12 15:54:28 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2009-08-12 15:54:28 +0000 |
commit | 933849324e8e98044bee079213aaf826a432ce9a (patch) | |
tree | cc5c40963bb21270553224d361c995120b28fe83 /lib/Target | |
parent | 378756c0f2d0d5393356ca3711530beceb201e05 (diff) | |
download | external_llvm-933849324e8e98044bee079213aaf826a432ce9a.zip external_llvm-933849324e8e98044bee079213aaf826a432ce9a.tar.gz external_llvm-933849324e8e98044bee079213aaf826a432ce9a.tar.bz2 |
CMake: Added asm file to x86_64 MSVC build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78807 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/X86/CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/Target/X86/CMakeLists.txt b/lib/Target/X86/CMakeLists.txt index fab3aa5..0553423 100644 --- a/lib/Target/X86/CMakeLists.txt +++ b/lib/Target/X86/CMakeLists.txt @@ -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) |