2010-10-17 02:26:16 +00:00
|
|
|
set(LLVM_REQUIRES_EH 1)
|
|
|
|
set(LLVM_REQUIRES_RTTI 1)
|
|
|
|
|
2008-09-22 01:08:49 +00:00
|
|
|
add_executable(tblgen
|
2010-04-03 04:36:43 +00:00
|
|
|
ARMDecoderEmitter.cpp
|
2009-07-11 21:53:14 +00:00
|
|
|
AsmMatcherEmitter.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
AsmWriterEmitter.cpp
|
2010-02-09 22:29:16 +00:00
|
|
|
AsmWriterInst.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
CallingConvEmitter.cpp
|
2010-05-05 04:13:08 +00:00
|
|
|
ClangASTNodesEmitter.cpp
|
2010-06-17 00:10:16 +00:00
|
|
|
ClangAttrEmitter.cpp
|
2009-03-16 17:04:14 +00:00
|
|
|
ClangDiagnosticsEmitter.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
CodeEmitterGen.cpp
|
|
|
|
CodeGenDAGPatterns.cpp
|
|
|
|
CodeGenInstruction.cpp
|
|
|
|
CodeGenTarget.cpp
|
|
|
|
DAGISelEmitter.cpp
|
2010-02-15 08:04:42 +00:00
|
|
|
DAGISelMatcherEmitter.cpp
|
|
|
|
DAGISelMatcherGen.cpp
|
2010-02-24 07:06:50 +00:00
|
|
|
DAGISelMatcherOpt.cpp
|
2010-02-15 08:04:42 +00:00
|
|
|
DAGISelMatcher.cpp
|
2009-11-25 02:13:23 +00:00
|
|
|
DisassemblerEmitter.cpp
|
2010-01-29 01:10:25 +00:00
|
|
|
EDEmitter.cpp
|
2009-03-16 17:04:14 +00:00
|
|
|
FastISelEmitter.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
InstrEnumEmitter.cpp
|
|
|
|
InstrInfoEmitter.cpp
|
|
|
|
IntrinsicEmitter.cpp
|
|
|
|
LLVMCConfigurationEmitter.cpp
|
2010-05-28 01:08:32 +00:00
|
|
|
NeonEmitter.cpp
|
2009-11-18 23:20:09 +00:00
|
|
|
OptParserEmitter.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
Record.cpp
|
|
|
|
RegisterInfoEmitter.cpp
|
2010-09-06 02:58:25 +00:00
|
|
|
StringMatcher.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
SubtargetEmitter.cpp
|
|
|
|
TGLexer.cpp
|
|
|
|
TGParser.cpp
|
2008-11-03 17:56:27 +00:00
|
|
|
TGValueTypes.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
TableGen.cpp
|
|
|
|
TableGenBackend.cpp
|
2009-12-19 02:59:52 +00:00
|
|
|
X86DisassemblerTables.cpp
|
|
|
|
X86RecognizableInstr.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(tblgen LLVMSupport LLVMSystem)
|
|
|
|
if( MINGW )
|
|
|
|
target_link_libraries(tblgen imagehlp psapi)
|
|
|
|
endif( MINGW )
|
2010-06-23 06:48:34 +00:00
|
|
|
if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD AND NOT BEOS )
|
2009-05-22 20:55:15 +00:00
|
|
|
target_link_libraries(tblgen pthread)
|
|
|
|
endif()
|