aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/CMakeLists.txt
blob: 3b090715e0832e0f6eaef99e4fc0a345771d9b2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
set(LLVM_TARGET_DEFINITIONS ../Basic/Attr.td)
tablegen(Attrs.inc
         -gen-clang-attr-classes
         -I ${CMAKE_CURRENT_SOURCE_DIR}/../../)
add_custom_target(ClangAttrClasses
  DEPENDS Attrs.inc)

set(LLVM_TARGET_DEFINITIONS ../Basic/StmtNodes.td)
tablegen(StmtNodes.inc
         -gen-clang-stmt-nodes)
add_custom_target(ClangStmtNodes
  DEPENDS StmtNodes.inc)

set(LLVM_TARGET_DEFINITIONS ../Basic/DeclNodes.td)
tablegen(DeclNodes.inc
         -gen-clang-decl-nodes)
add_custom_target(ClangDeclNodes
  DEPENDS DeclNodes.inc)