set(LLVM_NO_RTTI 1)

set( LLVM_USED_LIBS
  CIndex
  clangIndex
  clangFrontend
  clangSema
  clangAST
  clangLex
  clangBasic
  )

set( LLVM_LINK_COMPONENTS
  bitreader
  mc
  )

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

set(LLVM_NO_RTTI 1)

set( LLVM_USED_LIBS
  CIndex
  clangIndex
  clangFrontend
  clangSema
  clangAST
  clangLex
  clangBasic
  )

set( LLVM_LINK_COMPONENTS
  bitreader
  mc
  )

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

set_target_properties(c-index-test
  PROPERTIES
  LINKER_LANGUAGE CXX)


Make sure that c-index-test links as a C++ executable
Make sure that c-index-test links as a C++ executable

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