2009-06-02 17:52:33 +00:00
|
|
|
add_executable(tblgen
|
2009-10-14 17:57:32 +00:00
|
|
|
AsmMatcherEmitter.cpp
|
2009-06-02 17:52:33 +00:00
|
|
|
AsmWriterEmitter.cpp
|
|
|
|
CallingConvEmitter.cpp
|
|
|
|
ClangDiagnosticsEmitter.cpp
|
|
|
|
CodeEmitterGen.cpp
|
|
|
|
CodeGenDAGPatterns.cpp
|
|
|
|
CodeGenInstruction.cpp
|
|
|
|
CodeGenTarget.cpp
|
|
|
|
DAGISelEmitter.cpp
|
|
|
|
FastISelEmitter.cpp
|
|
|
|
InstrEnumEmitter.cpp
|
|
|
|
InstrInfoEmitter.cpp
|
|
|
|
IntrinsicEmitter.cpp
|
|
|
|
LLVMCConfigurationEmitter.cpp
|
2009-11-19 08:59:28 +00:00
|
|
|
OptParserEmitter.cpp
|
2009-06-02 17:52:33 +00:00
|
|
|
Record.cpp
|
|
|
|
RegisterInfoEmitter.cpp
|
|
|
|
SubtargetEmitter.cpp
|
|
|
|
TGLexer.cpp
|
|
|
|
TGParser.cpp
|
|
|
|
TGValueTypes.cpp
|
|
|
|
TableGen.cpp
|
|
|
|
TableGenBackend.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(tblgen LLVMSupport LLVMSystem)
|
|
|
|
if( MINGW )
|
|
|
|
target_link_libraries(tblgen imagehlp psapi)
|
|
|
|
endif( MINGW )
|
|
|
|
if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD )
|
|
|
|
target_link_libraries(tblgen pthread)
|
|
|
|
endif()
|