2008-09-22 01:08:49 +00:00
|
|
|
add_executable(tblgen
|
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
|
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
|
|
|
|
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
|
2009-11-18 23:20:09 +00:00
|
|
|
OptParserEmitter.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
Record.cpp
|
|
|
|
RegisterInfoEmitter.cpp
|
|
|
|
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 )
|
2009-05-22 20:55:15 +00:00
|
|
|
if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD )
|
|
|
|
target_link_libraries(tblgen pthread)
|
|
|
|
endif()
|