Support using DebugLoc's in a DenseMap.
[llvm/stm8.git] / utils / TableGen / CMakeLists.txt
blob514b1912992a7ee004e1ea0048b28033b4598291
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
7   ARMDecoderEmitter.cpp
8   AsmMatcherEmitter.cpp
9   AsmWriterEmitter.cpp
10   AsmWriterInst.cpp
11   CallingConvEmitter.cpp
12   ClangASTNodesEmitter.cpp
13   ClangAttrEmitter.cpp
14   ClangDiagnosticsEmitter.cpp
15   ClangSACheckersEmitter.cpp
16   CodeEmitterGen.cpp
17   CodeGenDAGPatterns.cpp
18   CodeGenInstruction.cpp
19   CodeGenTarget.cpp
20   DAGISelEmitter.cpp
21   DAGISelMatcherEmitter.cpp
22   DAGISelMatcherGen.cpp
23   DAGISelMatcherOpt.cpp
24   DAGISelMatcher.cpp
25   DisassemblerEmitter.cpp
26   EDEmitter.cpp
27   FastISelEmitter.cpp
28   FixedLenDecoderEmitter.cpp
29   InstrEnumEmitter.cpp
30   InstrInfoEmitter.cpp
31   IntrinsicEmitter.cpp
32   LLVMCConfigurationEmitter.cpp
33   NeonEmitter.cpp
34   OptParserEmitter.cpp
35   Record.cpp
36   RegisterInfoEmitter.cpp
37   StringMatcher.cpp
38   SubtargetEmitter.cpp
39   TGLexer.cpp
40   TGParser.cpp
41   TGValueTypes.cpp
42   TableGen.cpp
43   TableGenBackend.cpp
44   X86DisassemblerTables.cpp
45   X86RecognizableInstr.cpp
46   )
48 target_link_libraries(tblgen LLVMSupport)
49 if( MINGW )
50   target_link_libraries(tblgen imagehlp psapi)
51 endif( MINGW )
52 if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD AND NOT BEOS )
53   target_link_libraries(tblgen pthread)
54 endif()
56 install(TARGETS tblgen RUNTIME DESTINATION bin)