summaryrefslogtreecommitdiffstats
path: root/tools/clang-check/CMakeLists.txt
blob: e8d0d0a18abd4f17ca00e3e1433944d336e9913a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
set(LLVM_LINK_COMPONENTS
  ${LLVM_TARGETS_TO_BUILD}
  asmparser
  bitreader
  support
  mc
  )

add_clang_executable(clang-check
  ClangCheck.cpp
  )

target_link_libraries(clang-check
  clangTooling
  clangBasic
  clangRewriteFrontend
  )

install(TARGETS clang-check
  RUNTIME DESTINATION bin)
OpenPOWER on IntegriCloud