projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
378756c
)
CMake: Added asm file to x86_64 MSVC build.
author
Oscar Fuentes
<ofv@wanadoo.es>
Wed, 12 Aug 2009 15:54:28 +0000
(15:54 +0000)
committer
Oscar Fuentes
<ofv@wanadoo.es>
Wed, 12 Aug 2009 15:54:28 +0000
(15:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78807
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/lib/Target/X86/CMakeLists.txt
b/lib/Target/X86/CMakeLists.txt
index fab3aa51469c99a1dbe6704d6e5789083004af04..05534233599e28db6ffce7677d41c7b8fde22bdf 100644
(file)
--- 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)