2008-09-22 09:08:49 +08:00
|
|
|
add_executable(tblgen
|
2009-07-12 05:53:14 +08:00
|
|
|
AsmMatcherEmitter.cpp
|
2008-09-22 09:08:49 +08:00
|
|
|
AsmWriterEmitter.cpp
|
|
|
|
CallingConvEmitter.cpp
|
2009-03-17 01:04:14 +08:00
|
|
|
ClangDiagnosticsEmitter.cpp
|
2008-09-22 09:08:49 +08:00
|
|
|
CodeEmitterGen.cpp
|
|
|
|
CodeGenDAGPatterns.cpp
|
|
|
|
CodeGenInstruction.cpp
|
|
|
|
CodeGenTarget.cpp
|
|
|
|
DAGISelEmitter.cpp
|
2009-11-25 10:13:23 +08:00
|
|
|
DisassemblerEmitter.cpp
|
2009-03-17 01:04:14 +08:00
|
|
|
FastISelEmitter.cpp
|
2008-09-22 09:08:49 +08:00
|
|
|
InstrEnumEmitter.cpp
|
|
|
|
InstrInfoEmitter.cpp
|
|
|
|
IntrinsicEmitter.cpp
|
|
|
|
LLVMCConfigurationEmitter.cpp
|
2009-11-19 07:20:09 +08:00
|
|
|
OptParserEmitter.cpp
|
2008-09-22 09:08:49 +08:00
|
|
|
Record.cpp
|
|
|
|
RegisterInfoEmitter.cpp
|
|
|
|
SubtargetEmitter.cpp
|
|
|
|
TGLexer.cpp
|
|
|
|
TGParser.cpp
|
2008-11-04 01:56:27 +08:00
|
|
|
TGValueTypes.cpp
|
2008-09-22 09:08:49 +08:00
|
|
|
TableGen.cpp
|
|
|
|
TableGenBackend.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(tblgen LLVMSupport LLVMSystem)
|
|
|
|
if( MINGW )
|
|
|
|
target_link_libraries(tblgen imagehlp psapi)
|
|
|
|
endif( MINGW )
|
2009-05-23 04:55:15 +08:00
|
|
|
if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD )
|
|
|
|
target_link_libraries(tblgen pthread)
|
|
|
|
endif()
|