1set(LLVM_LINK_COMPONENTS 2 BinaryFormat 3 Core 4 FrontendOpenMP 5 Support 6 TargetParser 7 ) 8 9# FIXME: the entry points to the interpreter should be moved out of clangAST 10# into the parser or Sema in order to allow the interpreter to be moved to 11# another library which depends on clangAST. 12clang_tablegen(Opcodes.inc 13 -gen-clang-opcodes 14 SOURCE Interp/Opcodes.td 15 TARGET Opcodes) 16 17clang_tablegen(AttrDocTable.inc -gen-clang-attr-doc-table 18 -I ${CMAKE_CURRENT_SOURCE_DIR}/../../include/ 19 SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/../../include/clang/Basic/Attr.td 20 TARGET ClangAttrDocTable) 21 22add_clang_library(clangAST 23 APValue.cpp 24 ASTConcept.cpp 25 ASTConsumer.cpp 26 ASTContext.cpp 27 ASTDiagnostic.cpp 28 ASTDumper.cpp 29 ASTImporter.cpp 30 ASTImporterLookupTable.cpp 31 ASTStructuralEquivalence.cpp 32 ASTTypeTraits.cpp 33 AttrDocTable.cpp 34 AttrImpl.cpp 35 Comment.cpp 36 CommentBriefParser.cpp 37 CommentCommandTraits.cpp 38 CommentLexer.cpp 39 CommentParser.cpp 40 CommentSema.cpp 41 ComparisonCategories.cpp 42 ComputeDependence.cpp 43 CXXInheritance.cpp 44 DataCollection.cpp 45 Decl.cpp 46 DeclarationName.cpp 47 DeclBase.cpp 48 DeclCXX.cpp 49 DeclFriend.cpp 50 DeclGroup.cpp 51 DeclObjC.cpp 52 DeclOpenMP.cpp 53 DeclPrinter.cpp 54 DeclTemplate.cpp 55 ParentMapContext.cpp 56 Expr.cpp 57 ExprClassification.cpp 58 ExprConcepts.cpp 59 ExprConstant.cpp 60 ExprCXX.cpp 61 ExprObjC.cpp 62 ExternalASTMerger.cpp 63 ExternalASTSource.cpp 64 FormatString.cpp 65 InheritViz.cpp 66 Interp/ByteCodeEmitter.cpp 67 Interp/ByteCodeExprGen.cpp 68 Interp/ByteCodeGenError.cpp 69 Interp/ByteCodeStmtGen.cpp 70 Interp/Context.cpp 71 Interp/Descriptor.cpp 72 Interp/Disasm.cpp 73 Interp/EvalEmitter.cpp 74 Interp/Frame.cpp 75 Interp/Function.cpp 76 Interp/Interp.cpp 77 Interp/InterpBlock.cpp 78 Interp/InterpFrame.cpp 79 Interp/InterpStack.cpp 80 Interp/InterpState.cpp 81 Interp/Pointer.cpp 82 Interp/PrimType.cpp 83 Interp/Program.cpp 84 Interp/Record.cpp 85 Interp/Source.cpp 86 Interp/State.cpp 87 ItaniumCXXABI.cpp 88 ItaniumMangle.cpp 89 JSONNodeDumper.cpp 90 Mangle.cpp 91 MicrosoftCXXABI.cpp 92 MicrosoftMangle.cpp 93 NestedNameSpecifier.cpp 94 NSAPI.cpp 95 ODRDiagsEmitter.cpp 96 ODRHash.cpp 97 OpenMPClause.cpp 98 OSLog.cpp 99 ParentMap.cpp 100 PrintfFormatString.cpp 101 QualTypeNames.cpp 102 Randstruct.cpp 103 RawCommentList.cpp 104 RecordLayout.cpp 105 RecordLayoutBuilder.cpp 106 ScanfFormatString.cpp 107 SelectorLocationsKind.cpp 108 Stmt.cpp 109 StmtCXX.cpp 110 StmtIterator.cpp 111 StmtObjC.cpp 112 StmtOpenMP.cpp 113 StmtPrinter.cpp 114 StmtProfile.cpp 115 StmtViz.cpp 116 TemplateBase.cpp 117 TemplateName.cpp 118 TextNodeDumper.cpp 119 Type.cpp 120 TypeLoc.cpp 121 TypePrinter.cpp 122 VTableBuilder.cpp 123 VTTBuilder.cpp 124 125 LINK_LIBS 126 clangBasic 127 clangLex 128 129 DEPENDS 130 ClangAttrDocTable 131 Opcodes 132 omp_gen 133 ) 134