1add_clang_library(clangFrontend 2 ASTConsumers.cpp 3 ASTMerge.cpp 4 ASTUnit.cpp 5 CacheTokens.cpp 6 ChainedDiagnosticConsumer.cpp 7 ChainedIncludesSource.cpp 8 CompilerInstance.cpp 9 CompilerInvocation.cpp 10 CreateInvocationFromCommandLine.cpp 11 DependencyFile.cpp 12 DependencyGraph.cpp 13 DiagnosticRenderer.cpp 14 FrontendAction.cpp 15 FrontendActions.cpp 16 FrontendOptions.cpp 17 HeaderIncludeGen.cpp 18 InitHeaderSearch.cpp 19 InitPreprocessor.cpp 20 LangStandards.cpp 21 LayoutOverrideSource.cpp 22 LogDiagnosticPrinter.cpp 23 MultiplexConsumer.cpp 24 PrintPreprocessedOutput.cpp 25 SerializedDiagnosticPrinter.cpp 26 TextDiagnostic.cpp 27 TextDiagnosticBuffer.cpp 28 TextDiagnosticPrinter.cpp 29 VerifyDiagnosticConsumer.cpp 30 Warnings.cpp 31 ) 32 33add_dependencies(clangFrontend 34 ClangAttrClasses 35 ClangAttrList 36 ClangAttrParsedAttrList 37 ClangCommentNodes 38 ClangDeclNodes 39 ClangDiagnosticAST 40 ClangDiagnosticCommon 41 ClangDiagnosticDriver 42 ClangDiagnosticFrontend 43 ClangDiagnosticLex 44 ClangDiagnosticSema 45 ClangDriverOptions 46 ClangStmtNodes 47 ) 48 49target_link_libraries(clangFrontend 50 clangAST 51 clangBasic 52 clangDriver 53 clangEdit 54 clangLex 55 clangParse 56 clangSema 57 clangSerialization 58 ) 59