llvm-capstone/clang/lib/Serialization/CMakeLists.txt
Duncan P. N. Exon Smith f7170d17a8 clang/Modules: Move Serialization/Module.{h,cpp} to ModuleFile, NFC
Remove some cognitive load by renaming clang/Serialization/Module.h to
clang/Serialization/ModuleFile.h, since it declares the ModuleFile
class.  This also makes editing a bit easier, since the basename of the
file no long conflicts with clang/Basic/Module.h, which declares the
Module class.  Also move lib/Serialization/Module.cpp to
lib/Serialization/ModuleFile.cpp.
2019-11-21 19:07:00 -08:00

34 lines
519 B
CMake

set(LLVM_LINK_COMPONENTS
BitReader
BitstreamReader
Support
)
add_clang_library(clangSerialization
ASTCommon.cpp
ASTReader.cpp
ASTReaderDecl.cpp
ASTReaderStmt.cpp
ASTWriter.cpp
ASTWriterDecl.cpp
ASTWriterStmt.cpp
GeneratePCH.cpp
GlobalModuleIndex.cpp
InMemoryModuleCache.cpp
ModuleFile.cpp
ModuleFileExtension.cpp
ModuleManager.cpp
PCHContainerOperations.cpp
ADDITIONAL_HEADERS
ASTCommon.h
ASTReaderInternals.h
LINK_LIBS
clangAST
clangBasic
clangLex
clangSema
)