]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/Frontend/CMakeLists.txt
Vendor import of clang trunk r338150:
[FreeBSD/FreeBSD.git] / lib / Frontend / CMakeLists.txt
1 add_subdirectory(Rewrite)
2
3 set(LLVM_LINK_COMPONENTS
4   BitReader
5   Option
6   ProfileData
7   Support
8   )
9
10 set(optional_deps intrinsics_gen)
11 if (CLANG_BUILT_STANDALONE)
12   set(optional_deps)
13 endif()
14
15 add_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   FrontendTiming.cpp
33   HeaderIncludeGen.cpp
34   InitHeaderSearch.cpp
35   InitPreprocessor.cpp
36   LangStandards.cpp
37   LayoutOverrideSource.cpp
38   LogDiagnosticPrinter.cpp
39   ModuleDependencyCollector.cpp
40   MultiplexConsumer.cpp
41   PCHContainerOperations.cpp
42   PrecompiledPreamble.cpp
43   PrintPreprocessedOutput.cpp
44   SerializedDiagnosticPrinter.cpp
45   SerializedDiagnosticReader.cpp
46   TestModuleFileExtension.cpp
47   TextDiagnostic.cpp
48   TextDiagnosticBuffer.cpp
49   TextDiagnosticPrinter.cpp
50   VerifyDiagnosticConsumer.cpp
51
52   DEPENDS
53   ClangDriverOptions
54   ${optional_deps}
55
56   LINK_LIBS
57   clangAST
58   clangBasic
59   clangDriver
60   clangEdit
61   clangLex
62   clangParse
63   clangSema
64   clangSerialization
65   )