summaryrefslogtreecommitdiff
path: root/lib/Serialization/CMakeLists.txt
blob: f1bf1f90a1a93b07b7c82dc41c750966bad767f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
set(LLVM_NO_RTTI 1)

add_clang_library(clangSerialization
  GeneratePCH.cpp
  ASTCommon.cpp
  ASTReader.cpp
  ASTReaderDecl.cpp
  ASTReaderStmt.cpp
  ASTWriter.cpp
  ASTWriterDecl.cpp
  ASTWriterStmt.cpp
  )

target_link_libraries(clangSerialization
  clangFrontend
  )

add_dependencies(clangSerialization
  ClangAttrClasses
  ClangAttrList
  ClangAttrPCHRead
  ClangAttrPCHWrite
  ClangDiagnosticFrontend
  ClangDiagnosticLex
  ClangDiagnosticSema
  ClangDeclNodes
  ClangStmtNodes
  )