set(LLVM_USED_LIBS libclang)

set( LLVM_LINK_COMPONENTS
  support
  mc
  )

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

set_target_properties(c-index-test
  PROPERTIES
  LINKER_LANGUAGE CXX)


set(LLVM_USED_LIBS libclang)

set( LLVM_LINK_COMPONENTS
  support
  mc
  )

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

set_target_properties(c-index-test
  PROPERTIES
  LINKER_LANGUAGE CXX)

install(TARGETS c-index-test RUNTIME DESTINATION bin)

Install c-index-test also on CMake build, following up r140681.
Install c-index-test also on CMake build, following up r140681.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@140694 91177308-0d34-0410-b5e6-96231b3b80d8
