2008-09-22 01:08:49 +00:00
|
|
|
add_executable(tblgen
|
|
|
|
AsmWriterEmitter.cpp
|
|
|
|
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
|
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
|
|
|
|
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
|
|
|
|
)
|
|
|
|
|
|
|
|
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()
|