1 set(LLVM_REQUIRES_EH 1)
2 set(LLVM_REQUIRES_RTTI 1)
4 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${LLVM_TOOLS_BINARY_DIR})
6 add_llvm_utility(tblgen
11 CallingConvEmitter.cpp
12 ClangASTNodesEmitter.cpp
14 ClangDiagnosticsEmitter.cpp
15 ClangSACheckersEmitter.cpp
17 CodeGenDAGPatterns.cpp
18 CodeGenInstruction.cpp
21 DAGISelMatcherEmitter.cpp
25 DisassemblerEmitter.cpp
28 FixedLenDecoderEmitter.cpp
32 LLVMCConfigurationEmitter.cpp
36 RegisterInfoEmitter.cpp
44 X86DisassemblerTables.cpp
45 X86RecognizableInstr.cpp
48 target_link_libraries(tblgen LLVMSupport)
50 target_link_libraries(tblgen imagehlp psapi)
52 if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD AND NOT BEOS )
53 target_link_libraries(tblgen pthread)
56 install(TARGETS tblgen RUNTIME DESTINATION bin)