28 lines
508 B
CMake
28 lines
508 B
CMake
|
set(LLVM_USED_LIBS clangSema)
|
||
|
|
||
|
add_clang_library(clangSerialization
|
||
|
ASTCommon.h
|
||
|
ASTReaderInternals.h
|
||
|
ASTCommon.cpp
|
||
|
ASTReader.cpp
|
||
|
ASTReaderDecl.cpp
|
||
|
ASTReaderStmt.cpp
|
||
|
ASTWriter.cpp
|
||
|
ASTWriterDecl.cpp
|
||
|
ASTWriterStmt.cpp
|
||
|
GeneratePCH.cpp
|
||
|
Module.cpp
|
||
|
ModuleManager.cpp
|
||
|
)
|
||
|
|
||
|
add_dependencies(clangSerialization
|
||
|
ClangAttrClasses
|
||
|
ClangAttrList
|
||
|
ClangAttrPCHRead
|
||
|
ClangAttrPCHWrite
|
||
|
ClangDiagnosticLex
|
||
|
ClangDiagnosticSema
|
||
|
ClangDiagnosticSerialization
|
||
|
ClangDeclNodes
|
||
|
ClangStmtNodes)
|