summaryrefslogtreecommitdiffstats
path: root/tools/c-index-test/CMakeLists.txt
blob: d965fd2b51e2bbe4edabc72d81befd1c9ad61425 (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
28
29
set(LLVM_NO_RTTI 1)

set( LLVM_USED_LIBS
  libclang
  clangIndex
  clangFrontend
  clangDriver
  clangSema
  clangAnalysis
  clangAST
  clangParse
  clangLex
  clangBasic
  )

set( LLVM_LINK_COMPONENTS
  bitreader
  mc
  core
  )

add_clang_executable(c-index-test
  c-index-test.c
  )

set_target_properties(c-index-test
  PROPERTIES
  LINKER_LANGUAGE CXX)

OpenPOWER on IntegriCloud