#set( LLVM_LINK_COMPONENTS
# jit
# linker
# native
#  )

add_cling_executable(cling
  cling.cpp)

target_link_libraries(cling
  clingUserInterface
  clingMetaProcessor
  clingInterpreter
  clingUtils
  clangFrontend
  clangSerialization
  clangDriver
  clangCodeGen
  clangParse
  clangSema
  clangAnalysis
  clangAST
  clangLex
  clangBasic
  clangEdit
  )

install(TARGETS cling
  RUNTIME DESTINATION bin)

set( LLVM_LINK_COMPONENTS
  ${LLVM_TARGETS_TO_BUILD}
  asmparser
  bitreader
  bitwriter
  irreader
  codegen
  instrumentation
  ipo
#  linker
  selectiondag
  jit
  native
  )

add_cling_executable(cling
  cling.cpp)

target_link_libraries(cling
  clangAST
  clangAnalysis
  clangBasic
  clangCodeGen
  clangDriver
  clangEdit
  clangFrontend
  clangLex
  clangParse
  clangSema
  clangSerialization
  clangStaticAnalyzerCore

  clingUserInterface
  clingMetaProcessor
  clingInterpreter
  clingUtils
  )

install(TARGETS cling
  RUNTIME DESTINATION bin)

Update to the lib list of llvm's / clang's trunk.
Update to the lib list of llvm's / clang's trunk.
