set(LLVM_NO_RTTI 1)

set(LLVM_USED_LIBS clangBasic clangLex clangAST)

set( LLVM_USED_LIBS
  clangSerialization
  clangFrontend
  clangParse
  clangSema
  clangChecker
  clangAnalysis
  clangIndex
  clangRewrite
  clangAST
  clangLex
  clangBasic
  )

add_clang_library(clangIndex
  ASTLocation.cpp
  Analyzer.cpp
  CallGraph.cpp
  DeclReferenceMap.cpp
  Entity.cpp
  GlobalSelector.cpp
  Handlers.cpp
  IndexProvider.cpp
  Indexer.cpp
  Program.cpp
  SelectorMap.cpp
  )

add_dependencies(clangIndex ClangAttrClasses ClangAttrList
                 ClangDeclNodes ClangStmtNodes)

set(LLVM_NO_RTTI 1)

set(LLVM_USED_LIBS clangBasic clangAST)

add_clang_library(clangIndex
  ASTLocation.cpp
  Analyzer.cpp
  CallGraph.cpp
  DeclReferenceMap.cpp
  Entity.cpp
  GlobalSelector.cpp
  Handlers.cpp
  IndexProvider.cpp
  Indexer.cpp
  Program.cpp
  SelectorMap.cpp
  )

add_dependencies(clangIndex ClangAttrClasses ClangAttrList
                 ClangDeclNodes ClangStmtNodes)

Fix CMake clangIndex library dependencies, from Logan Chien
Fix CMake clangIndex library dependencies, from Logan Chien

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