Clang Project

clang_source_code/lib/Frontend/CMakeLists.txt
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  ChainedDiagnosticConsumer.cpp
20  ChainedIncludesSource.cpp
21  CompilerInstance.cpp
22  CompilerInvocation.cpp
23  CreateInvocationFromCommandLine.cpp
24  DependencyFile.cpp
25  DependencyGraph.cpp
26  DiagnosticRenderer.cpp
27  FrontendAction.cpp
28  FrontendActions.cpp
29  FrontendOptions.cpp
30  FrontendTiming.cpp
31  HeaderIncludeGen.cpp
32  InitHeaderSearch.cpp
33  InitPreprocessor.cpp
34  LangStandards.cpp
35  LayoutOverrideSource.cpp
36  LogDiagnosticPrinter.cpp
37  ModuleDependencyCollector.cpp
38  MultiplexConsumer.cpp
39  PrecompiledPreamble.cpp
40  PrintPreprocessedOutput.cpp
41  SerializedDiagnosticPrinter.cpp
42  SerializedDiagnosticReader.cpp
43  TestModuleFileExtension.cpp
44  TextDiagnostic.cpp
45  TextDiagnosticBuffer.cpp
46  TextDiagnosticPrinter.cpp
47  VerifyDiagnosticConsumer.cpp
48
49  DEPENDS
50  ClangDriverOptions
51  ${optional_deps}
52
53  LINK_LIBS
54  clangAST
55  clangBasic
56  clangDriver
57  clangEdit
58  clangLex
59  clangParse
60  clangSema
61  clangSerialization
62  )
63