1 set(LLVM_LINK_COMPONENTS bitreader) 2 3 add_clang_library(clangSerialization 4 ASTCommon.h 5 ASTReaderInternals.h 6 ASTCommon.cpp 7 ASTReader.cpp 8 ASTReaderDecl.cpp 9 ASTReaderStmt.cpp 10 ASTWriter.cpp 11 ASTWriterDecl.cpp 12 ASTWriterStmt.cpp 13 GeneratePCH.cpp 14 GlobalModuleIndex.cpp 15 Module.cpp 16 ModuleManager.cpp 17 ) 18 19 add_dependencies(clangSerialization 20 ClangAttrClasses 21 ClangAttrList 22 ClangAttrParsedAttrList 23 ClangAttrPCHRead 24 ClangAttrPCHWrite 25 ClangCommentNodes 26 ClangDeclNodes 27 ClangDiagnosticCommon 28 ClangDiagnosticLex 29 ClangDiagnosticSema 30 ClangDiagnosticSerialization 31 ClangStmtNodes 32 ) 33 34 target_link_libraries(clangSerialization 35 clangSema 36 ) 37