set(LLVM_USED_LIBS
    clangFrontend
    clangSerialization
    clangDriver
    clangCodeGen
    clangSema
    clangStaticAnalyzerFrontend
    clangStaticAnalyzerCheckers
    clangStaticAnalyzerCore
    clangIndex
    clangAnalysis
    clangRewrite
    clangAST
    clangParse
    clangLex
    clangBasic
    )

set(LLVM_LINK_COMPONENTS
    jit
    interpreter
    nativecodegen
    asmparser
    bitreader
    bitwriter
    codegen
    ipo
    linker
    selectiondag
  )

add_clang_executable(clang-interpreter
  main.cpp
  )
add_dependencies(clang-interpreter clang-headers)

set(LLVM_USED_LIBS
    clangFrontend
    clangSerialization
    clangDriver
    clangCodeGen
    clangSema
    clangStaticAnalyzerFrontend
    clangStaticAnalyzerCheckers
    clangStaticAnalyzerCore
    clangAnalysis
    clangRewrite
    clangAST
    clangParse
    clangLex
    clangBasic
    )

set(LLVM_LINK_COMPONENTS
    jit
    interpreter
    nativecodegen
    asmparser
    bitreader
    bitwriter
    codegen
    ipo
    linker
    selectiondag
  )

add_clang_executable(clang-interpreter
  main.cpp
  )
add_dependencies(clang-interpreter clang-headers)

Remove clangIndex reference from clang-interpreter CMake build
Remove clangIndex reference from clang-interpreter CMake build

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