forked from OSchip/llvm-project
44 lines
720 B
CMake
44 lines
720 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
BitReader
|
|
Support
|
|
)
|
|
|
|
|
|
add_clang_library(clangSerialization
|
|
ASTCommon.h
|
|
ASTReaderInternals.h
|
|
ASTCommon.cpp
|
|
ASTReader.cpp
|
|
ASTReaderDecl.cpp
|
|
ASTReaderStmt.cpp
|
|
ASTWriter.cpp
|
|
ASTWriterDecl.cpp
|
|
ASTWriterStmt.cpp
|
|
GeneratePCH.cpp
|
|
GlobalModuleIndex.cpp
|
|
Module.cpp
|
|
ModuleManager.cpp
|
|
)
|
|
|
|
add_dependencies(clangSerialization
|
|
ClangAttrClasses
|
|
ClangAttrList
|
|
ClangAttrParsedAttrList
|
|
ClangAttrPCHRead
|
|
ClangAttrPCHWrite
|
|
ClangCommentNodes
|
|
ClangDeclNodes
|
|
ClangDiagnosticCommon
|
|
ClangDiagnosticLex
|
|
ClangDiagnosticSema
|
|
ClangDiagnosticSerialization
|
|
ClangStmtNodes
|
|
)
|
|
|
|
target_link_libraries(clangSerialization
|
|
clangAST
|
|
clangBasic
|
|
clangLex
|
|
clangSema
|
|
)
|