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