2010-10-17 02:26:16 +00:00
|
|
|
set(LLVM_REQUIRES_EH 1)
|
|
|
|
set(LLVM_REQUIRES_RTTI 1)
|
|
|
|
|
2011-02-03 20:57:36 +00:00
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${LLVM_TOOLS_BINARY_DIR})
|
|
|
|
|
2011-02-20 22:06:10 +00:00
|
|
|
add_llvm_utility(tblgen
|
2010-04-03 04:36:43 +00:00
|
|
|
ARMDecoderEmitter.cpp
|
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
|
2010-05-05 04:13:08 +00:00
|
|
|
ClangASTNodesEmitter.cpp
|
2010-06-17 00:10:16 +00:00
|
|
|
ClangAttrEmitter.cpp
|
2009-03-16 17:04:14 +00:00
|
|
|
ClangDiagnosticsEmitter.cpp
|
2011-02-14 17:58:52 +00:00
|
|
|
ClangSACheckersEmitter.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
CodeEmitterGen.cpp
|
|
|
|
CodeGenDAGPatterns.cpp
|
|
|
|
CodeGenInstruction.cpp
|
2011-06-09 18:42:07 +00:00
|
|
|
CodeGenRegisters.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
CodeGenTarget.cpp
|
|
|
|
DAGISelEmitter.cpp
|
2010-02-15 08:04:42 +00:00
|
|
|
DAGISelMatcherEmitter.cpp
|
|
|
|
DAGISelMatcherGen.cpp
|
2010-02-24 07:06:50 +00:00
|
|
|
DAGISelMatcherOpt.cpp
|
2010-02-15 08:04:42 +00:00
|
|
|
DAGISelMatcher.cpp
|
2009-11-25 02:13:23 +00:00
|
|
|
DisassemblerEmitter.cpp
|
2010-01-29 01:10:25 +00:00
|
|
|
EDEmitter.cpp
|
2011-06-21 23:19:23 +00:00
|
|
|
Error.cpp
|
2009-03-16 17:04:14 +00:00
|
|
|
FastISelEmitter.cpp
|
2011-02-18 22:06:23 +00:00
|
|
|
FixedLenDecoderEmitter.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
InstrEnumEmitter.cpp
|
|
|
|
InstrInfoEmitter.cpp
|
|
|
|
IntrinsicEmitter.cpp
|
|
|
|
LLVMCConfigurationEmitter.cpp
|
2010-05-28 01:08:32 +00:00
|
|
|
NeonEmitter.cpp
|
2009-11-18 23:20:09 +00:00
|
|
|
OptParserEmitter.cpp
|
2011-07-08 17:36:35 +00:00
|
|
|
PseudoLoweringEmitter.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
Record.cpp
|
|
|
|
RegisterInfoEmitter.cpp
|
2011-06-04 04:11:37 +00:00
|
|
|
SetTheory.cpp
|
2010-09-06 02:58:25 +00:00
|
|
|
StringMatcher.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
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
|
|
|
)
|
|
|
|
|
2010-11-29 18:16:10 +00:00
|
|
|
target_link_libraries(tblgen LLVMSupport)
|
2008-09-22 01:08:49 +00:00
|
|
|
if( MINGW )
|
|
|
|
target_link_libraries(tblgen imagehlp psapi)
|
|
|
|
endif( MINGW )
|
2010-06-23 06:48:34 +00:00
|
|
|
if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD AND NOT BEOS )
|
2009-05-22 20:55:15 +00:00
|
|
|
target_link_libraries(tblgen pthread)
|
|
|
|
endif()
|
2011-02-03 20:57:36 +00:00
|
|
|
|
|
|
|
install(TARGETS tblgen RUNTIME DESTINATION bin)
|