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 PCHContainerOperations.cpp 35 PrintPreprocessedOutput.cpp 36 SerializedDiagnosticPrinter.cpp 37 SerializedDiagnosticReader.cpp 38 TestModuleFileExtension.cpp 39 TextDiagnostic.cpp 40 TextDiagnosticBuffer.cpp 41 TextDiagnosticPrinter.cpp 42 VerifyDiagnosticConsumer.cpp 43 44 DEPENDS 45 ClangDriverOptions 46 intrinsics_gen 47 48 LINK_LIBS 49 clangAST 50 clangBasic 51 clangDriver 52 clangEdit 53 clangLex 54 clangParse 55 clangSema 56 clangSerialization 57 ) 58