• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1add_subdirectory(Rewrite)
2
3set(LLVM_LINK_COMPONENTS
4  BitReader
5  Option
6  ProfileData
7  Support
8  )
9
10set(optional_deps intrinsics_gen)
11if (CLANG_BUILT_STANDALONE)
12  set(optional_deps)
13endif()
14
15add_clang_library(clangFrontend
16  ASTConsumers.cpp
17  ASTMerge.cpp
18  ASTUnit.cpp
19  CacheTokens.cpp
20  ChainedDiagnosticConsumer.cpp
21  ChainedIncludesSource.cpp
22  CodeGenOptions.cpp
23  CompilerInstance.cpp
24  CompilerInvocation.cpp
25  CreateInvocationFromCommandLine.cpp
26  DependencyFile.cpp
27  DependencyGraph.cpp
28  DiagnosticRenderer.cpp
29  FrontendAction.cpp
30  FrontendActions.cpp
31  FrontendOptions.cpp
32  HeaderIncludeGen.cpp
33  InitHeaderSearch.cpp
34  InitPreprocessor.cpp
35  LangStandards.cpp
36  LayoutOverrideSource.cpp
37  LogDiagnosticPrinter.cpp
38  ModuleDependencyCollector.cpp
39  MultiplexConsumer.cpp
40  PCHContainerOperations.cpp
41  PrintPreprocessedOutput.cpp
42  SerializedDiagnosticPrinter.cpp
43  SerializedDiagnosticReader.cpp
44  TestModuleFileExtension.cpp
45  TextDiagnostic.cpp
46  TextDiagnosticBuffer.cpp
47  TextDiagnosticPrinter.cpp
48  VerifyDiagnosticConsumer.cpp
49
50  DEPENDS
51  ClangDriverOptions
52  ${optional_deps}
53
54  LINK_LIBS
55  clangAST
56  clangBasic
57  clangDriver
58  clangEdit
59  clangLex
60  clangParse
61  clangSema
62  clangSerialization
63  )
64