blob: 3539405ff3710e8e7718b03c681c8704d83044f9 [file] [log] [blame]
NAKAMURA Takumi65d42bc2013-12-09 19:04:43 +00001set(LLVM_LINK_COMPONENTS
2 Option
3 Support
4 )
5
Mike Stump90a37072009-03-24 17:52:34 +00006add_clang_library(clangFrontend
Eli Friedman351fa4b2009-05-18 23:06:15 +00007 ASTConsumers.cpp
Douglas Gregor62d311f2010-02-09 19:21:46 +00008 ASTMerge.cpp
Argyrios Kyrtzidis9cab2962009-06-23 22:01:29 +00009 ASTUnit.cpp
Eli Friedmane15ecf02009-05-19 04:21:30 +000010 CacheTokens.cpp
Chandler Carruth1c032e02011-12-20 08:42:15 +000011 ChainedDiagnosticConsumer.cpp
Chandler Carruthf887db02011-12-09 01:55:54 +000012 ChainedIncludesSource.cpp
Daniel Dunbar636404a2009-11-13 03:51:44 +000013 CompilerInstance.cpp
Daniel Dunbar629f6bb2009-11-17 06:02:29 +000014 CompilerInvocation.cpp
Argyrios Kyrtzidis0e93ac62011-04-04 23:17:56 +000015 CreateInvocationFromCommandLine.cpp
Eli Friedmane15ecf02009-05-19 04:21:30 +000016 DependencyFile.cpp
Douglas Gregor83d46be2012-02-02 00:54:52 +000017 DependencyGraph.cpp
Ted Kremenekc4bbd852011-12-17 05:26:04 +000018 DiagnosticRenderer.cpp
Daniel Dunbara0ff58d2009-11-14 10:42:35 +000019 FrontendAction.cpp
Daniel Dunbar02bd2d72009-11-14 10:42:46 +000020 FrontendActions.cpp
Daniel Dunbar27b19dc2009-11-13 02:06:12 +000021 FrontendOptions.cpp
Daniel Dunbar27734fd2011-02-02 15:41:17 +000022 HeaderIncludeGen.cpp
Oscar Fuentes07d9f9a2008-10-26 00:56:18 +000023 InitHeaderSearch.cpp
Chris Lattner2f5693f2009-04-21 05:40:52 +000024 InitPreprocessor.cpp
Daniel Dunbare0d81f22009-11-26 02:14:31 +000025 LangStandards.cpp
Douglas Gregore9fc3772012-01-26 07:55:45 +000026 LayoutOverrideSource.cpp
Daniel Dunbar2083c322011-04-07 18:31:10 +000027 LogDiagnosticPrinter.cpp
Ted Kremenek7e1ec9c2011-01-25 22:10:37 +000028 MultiplexConsumer.cpp
Eli Friedmane15ecf02009-05-19 04:21:30 +000029 PrintPreprocessedOutput.cpp
Ted Kremenek4610ea22011-10-29 00:12:39 +000030 SerializedDiagnosticPrinter.cpp
Chandler Carrutha3028852011-10-15 23:43:53 +000031 TextDiagnostic.cpp
Eli Friedmane15ecf02009-05-19 04:21:30 +000032 TextDiagnosticBuffer.cpp
33 TextDiagnosticPrinter.cpp
David Blaikie69609dc2011-09-26 00:38:03 +000034 VerifyDiagnosticConsumer.cpp
Eli Friedmane15ecf02009-05-19 04:21:30 +000035 Warnings.cpp
Oscar Fuentes07d9f9a2008-10-26 00:56:18 +000036 )
Douglas Gregore1d15c82009-06-18 15:05:47 +000037
Andrew Trickd4cfa2f2012-05-02 05:31:31 +000038add_dependencies(clangFrontend
Alexis Huntc675ec02010-06-17 00:37:02 +000039 ClangAttrClasses
40 ClangAttrList
NAKAMURA Takumi836926d2012-07-27 06:18:33 +000041 ClangAttrParsedAttrList
NAKAMURA Takumi075c89b2012-07-27 06:18:12 +000042 ClangCommentNodes
43 ClangDeclNodes
NAKAMURA Takumi836926d2012-07-27 06:18:33 +000044 ClangDiagnosticAST
45 ClangDiagnosticCommon
46 ClangDiagnosticDriver
Andrew Trickd4cfa2f2012-05-02 05:31:31 +000047 ClangDiagnosticFrontend
Douglas Gregord4daf752009-06-25 05:03:29 +000048 ClangDiagnosticLex
Douglas Gregorecc60b92010-05-05 05:41:05 +000049 ClangDiagnosticSema
Peter Collingbourne2e820142011-09-06 02:08:40 +000050 ClangDriverOptions
Chandler Carruth28969b42012-06-21 01:30:21 +000051 ClangStmtNodes
52 )
53
54target_link_libraries(clangFrontend
55 clangAST
56 clangBasic
57 clangDriver
58 clangEdit
59 clangLex
60 clangParse
61 clangSema
62 clangSerialization
63 )