aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/CMakeLists.txt
blob: 800c58361b023b9aa5077687254bcbb1be7b8e21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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)

tablegen(AttrImpl.inc
         -gen-clang-attr-impl
         -I ${CMAKE_CURRENT_SOURCE_DIR}/../../)
add_custom_target(ClangAttrImpl
  DEPENDS AttrImpl.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)