llvm-project/clang/lib/Serialization/CMakeLists.txt

25 lines
503 B
CMake

# TODO: This must need some dependencies, but it builds fine without them.
#set(LLVM_USED_LIBS ???)
add_clang_library(clangSerialization
GeneratePCH.cpp
ASTCommon.cpp
ASTReader.cpp
ASTReaderDecl.cpp
ASTReaderStmt.cpp
ASTWriter.cpp
ASTWriterDecl.cpp
ASTWriterStmt.cpp
)
add_dependencies(clangSerialization
ClangAttrClasses
ClangAttrList
ClangAttrPCHRead
ClangAttrPCHWrite
ClangDiagnosticFrontend
ClangDiagnosticLex
ClangDiagnosticSema
ClangDeclNodes
ClangStmtNodes)