150
|
1 add_subdirectory(Rewrite)
|
|
2
|
|
3 set(LLVM_LINK_COMPONENTS
|
|
4 BitReader
|
|
5 BitstreamReader
|
|
6 Option
|
|
7 ProfileData
|
|
8 Support
|
|
9 )
|
|
10
|
|
11 set(optional_deps intrinsics_gen)
|
|
12 if (CLANG_BUILT_STANDALONE)
|
|
13 set(optional_deps)
|
|
14 endif()
|
|
15
|
|
16 add_clang_library(clangFrontend
|
|
17 ASTConsumers.cpp
|
|
18 ASTMerge.cpp
|
|
19 ASTUnit.cpp
|
|
20 ChainedDiagnosticConsumer.cpp
|
|
21 ChainedIncludesSource.cpp
|
|
22 CompilerInstance.cpp
|
|
23 CompilerInvocation.cpp
|
|
24 CreateInvocationFromCommandLine.cpp
|
|
25 DependencyFile.cpp
|
|
26 DependencyGraph.cpp
|
|
27 DiagnosticRenderer.cpp
|
|
28 FrontendAction.cpp
|
|
29 FrontendActions.cpp
|
|
30 FrontendOptions.cpp
|
|
31 FrontendTiming.cpp
|
|
32 HeaderIncludeGen.cpp
|
|
33 InitHeaderSearch.cpp
|
|
34 InitPreprocessor.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 InterfaceStubFunctionsConsumer.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 )
|