1add_subdirectory(Rewrite) 2 3set(LLVM_LINK_COMPONENTS 4 BitReader 5 Option 6 Support 7 ) 8 9add_clang_library(clangFrontend 10 ASTConsumers.cpp 11 ASTMerge.cpp 12 ASTUnit.cpp 13 CacheTokens.cpp 14 ChainedDiagnosticConsumer.cpp 15 ChainedIncludesSource.cpp 16 CodeGenOptions.cpp 17 CompilerInstance.cpp 18 CompilerInvocation.cpp 19 CreateInvocationFromCommandLine.cpp 20 DependencyFile.cpp 21 DependencyGraph.cpp 22 DiagnosticRenderer.cpp 23 FrontendAction.cpp 24 FrontendActions.cpp 25 FrontendOptions.cpp 26 HeaderIncludeGen.cpp 27 InitHeaderSearch.cpp 28 InitPreprocessor.cpp 29 LangStandards.cpp 30 LayoutOverrideSource.cpp 31 LogDiagnosticPrinter.cpp 32 ModuleDependencyCollector.cpp 33 MultiplexConsumer.cpp 34 PrintPreprocessedOutput.cpp 35 SerializedDiagnosticPrinter.cpp 36 SerializedDiagnosticReader.cpp 37 TextDiagnostic.cpp 38 TextDiagnosticBuffer.cpp 39 TextDiagnosticPrinter.cpp 40 VerifyDiagnosticConsumer.cpp 41 42 DEPENDS 43 ClangDriverOptions 44 45 LINK_LIBS 46 clangAST 47 clangBasic 48 clangDriver 49 clangEdit 50 clangLex 51 clangParse 52 clangSema 53 clangSerialization 54 ) 55