summaryrefslogtreecommitdiffstats
path: root/lib/Format/CMakeLists.txt
blob: d8630eeeead3cd828ad30a06ebbfcfd055994fd3 (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
set(LLVM_LINK_COMPONENTS support)

add_clang_library(clangFormat
  TokenAnnotator.cpp
  UnwrappedLineParser.cpp
  Format.cpp
  )

add_dependencies(clangFormat
  ClangAttrClasses
  ClangAttrList
  ClangDeclNodes
  ClangDiagnosticCommon
  ClangDiagnosticFrontend
  ClangStmtNodes
  )

target_link_libraries(clangFormat
  clangBasic
  clangFrontend
  clangAST
  clangASTMatchers
  clangRewriteCore
  clangRewriteFrontend
  clangTooling
  )
OpenPOWER on IntegriCloud