llvm-6502/utils/TableGen/CMakeLists.txt
Chris Lattner 8070ea3f06 Rename TGSourceMgr -> SourceMgr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73844 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-21 03:41:50 +00:00

32 lines
708 B
CMake

add_executable(tblgen
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
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()