summaryrefslogtreecommitdiffstats
path: root/clang/tools/clang-cc/CMakeLists.txt
blob: e224d40f6c8cc12b3bdf820551b329d0cf2199e7 (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
set(LLVM_NO_RTTI 1)

set( LLVM_USED_LIBS
  clangFrontend
  clangCodeGen
  clangAnalysis
  clangRewrite
  clangSema
  clangAST
  clangParse
  clangLex
  clangBasic
  )

set( LLVM_LINK_COMPONENTS
  ${LLVM_TARGETS_TO_BUILD}
  bitreader
  bitwriter
  codegen
  ipo
  selectiondag
  )

add_clang_executable(clang-cc
  clang-cc.cpp
  )
add_dependencies(clang-cc clang-headers)
OpenPOWER on IntegriCloud