CMakeLists.txt revision c24a76e376a767edc14e60bed716396a84cb127a
1set(LLVM_LINK_COMPONENTS support)
2
3add_clang_library(clangAST
4  APValue.cpp
5  ASTConsumer.cpp
6  ASTContext.cpp
7  ASTDiagnostic.cpp
8  ASTImporter.cpp
9  AttrImpl.cpp
10  CXXInheritance.cpp
11  Comment.cpp
12  CommentBriefParser.cpp
13  CommentCommandTraits.cpp
14  CommentDumper.cpp
15  CommentLexer.cpp
16  CommentParser.cpp
17  CommentSema.cpp
18  Decl.cpp
19  DeclarationName.cpp
20  DeclBase.cpp
21  DeclCXX.cpp
22  DeclFriend.cpp
23  DeclGroup.cpp
24  DeclObjC.cpp
25  DeclPrinter.cpp
26  DeclTemplate.cpp
27  DumpXML.cpp
28  Expr.cpp
29  ExprClassification.cpp
30  ExprConstant.cpp
31  ExprCXX.cpp
32  ExternalASTSource.cpp
33  InheritViz.cpp
34  ItaniumCXXABI.cpp
35  ItaniumMangle.cpp
36  LambdaMangleContext.cpp
37  Mangle.cpp
38  MicrosoftCXXABI.cpp
39  MicrosoftMangle.cpp
40  NestedNameSpecifier.cpp
41  NSAPI.cpp
42  ParentMap.cpp
43  RawCommentList.cpp
44  RecordLayout.cpp
45  RecordLayoutBuilder.cpp
46  SelectorLocationsKind.cpp
47  Stmt.cpp
48  StmtDumper.cpp
49  StmtIterator.cpp
50  StmtPrinter.cpp
51  StmtProfile.cpp
52  StmtViz.cpp
53  TemplateBase.cpp
54  TemplateName.cpp
55  Type.cpp
56  TypeLoc.cpp
57  TypePrinter.cpp
58  VTableBuilder.cpp
59  VTTBuilder.cpp
60  )
61
62add_dependencies(clangAST
63  ClangARMNeon
64  ClangAttrClasses
65  ClangAttrList
66  ClangAttrImpl
67  ClangCommentNodes
68  ClangCommentHTMLTags
69  ClangCommentHTMLTagsProperties
70  ClangDeclNodes
71  ClangDiagnosticAST
72  ClangDiagnosticComment
73  ClangDiagnosticCommon
74  ClangDiagnosticSema
75  ClangStmtNodes
76  )
77
78target_link_libraries(clangAST
79  clangBasic
80  clangLex
81  )
82